Setup for running Presto with Hive Metastore on Kubernetes.
See previous blog post for more information about running Presto on FlashBlade.
-
Build Docker images for Hive Metastore and Presto
-
Deploy Kubernetes services: MariaDB, init-schemas, Metastore, and then Presto
Assumptions: working Kubernetes deployment.
Things you may need to modify:
- Docker repository name ($REPONAME) in build_image scripts and yaml files.
- DataVIP and access keys for FlashBlade (fs.s3a.endpoint and hive.s3.endpoint)
- StorageClass for the MariaDB volume.
Dockerfile for Metastore
Uses Hive Metastore Standalone service.
Yaml for MariaDB
Yaml for init-schemas
Yaml for Metastore
Dockerfile for Presto Service
Configuration approach
Yaml for Presto Coordinator/Workers
Dockerfile for Presto CLI