How to install Hive Metastore in Kubernetes?

10/17/2019

I am working on a project on Kubernetes where I use Spark SQL to create tables and I would like to add partitions and schemas to an Hive Metastore. However, I did not found any proper documentation to install Hive Metastore on Kubernetes. Is it something possible knowing that I have already a PostGreSQL database installed ? If yes, could you please help me with any official documentation ?

Thanks in advance.

-- Yassir S
apache-spark
hive-metastore
kubernetes

1 Answer

10/19/2019

Hive on MR3 allows the user to run Metastore in a Pod on Kubernetes. The instruction may look complicated, but once the Pod is properly configured, it's easy to start Metastore on Kubernetes. You can also find the pre-built Docker image at Docker Hub. Helm chart is also provided.

https://mr3.postech.ac.kr/hivek8s/guide/run-metastore/ https://mr3.postech.ac.kr/hivek8s/helm/run-metastore/

The documentation assumes MySQL, but we have tested it with PostgreSQL as well.

-- glapark
Source: StackOverflow