On this page you install the Stackable operator for Apache Hive and all required dependencies.
For the installation of the dependencies and operators you can use Helm or stackablectl.
The stackablectl command line tool is the recommended way to interact with operators and dependencies.
Follow the installation steps for your platform if you choose to work with stackablectl.
First you need to install MinIO and PostgreSQL instances for the Hive metastore. PostgreSQL is required as a database for Hive’s metadata, and MinIO is used as a data store, which the Hive metastore also needs access to.
There are two ways to install the dependencies:
-
Using stackablectl
-
Using Helm
|
Warning
|
The dependency installations in this guide are only intended for testing and not suitable for production! |
stackablectl was designed to install Stackable components, but its Stacks feature can also be used to install arbitrary Helm Charts.
You can install MinIO and PostgreSQL using the Stacks feature as follows, but a simpler method via Helm is shown below.
link:example$getting_started/getting_started.sh[role=include]Create a file called minio-stack.yaml:
link:example$getting_started/minio-stack.yaml[role=include]As well as postgres-stack.yaml:
link:example$getting_started/postgres-stack.yaml[role=include]And then reference both files in another file called stackablectl-hive-postgres-minio-stack.yaml:
link:example$getting_started/stackablectl-hive-postgres-minio-stack.yaml[role=include]Also create a release.yaml file:
link:example$getting_started/release.yaml[role=include]The release definition already references the required operators for this Getting Started guide.
Now call stackablectl and reference those two files:
link:example$getting_started/getting_started.sh[role=include]This installs MinIO and PostgreSQL as defined in the Stacks, as well as the operators. You can now skip the Stackable Operators step that follows next.
|
Tip
|
Consult the Quickstart to learn more about how to use stackablectl.
|
In order to install the MinIO and PostgreSQL dependencies via Helm, you have to deploy two charts.
There are 2 ways to run Stackable Operators:
-
Using stackablectl
-
Using Helm
Run the following command to install all operators necessary for Apache Hive:
link:example$getting_started/getting_started.sh[role=include]The tool prints
link:example$getting_started/install-operator-output.txt[role=include]Run the following commands Helm to install the operators via Helm
|
Note
|
helm repo subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
|
Install the Stackable operators:
link:example$getting_started/getting_started.sh[role=include]Helm deploys the operators in a Kubernetes Deployment. Each operator installs and maintains its own CRDs at startup (see concepts:maintenance/crds.adoc).