Available in: EE
The module lifecycle stage: Preview
The module has requirements for installation
Module Overview
The managed-hive-metastore module manages Hive Metastore clusters in Kubernetes clusters.
It allows users to configure and scale Hive Metastore instances according to their needs, ensuring optimal performance and security.
Main features:
- Automatic Deployment: Deploys a Hive Metastore instance using a simple YAML configuration
- Status: Informative set of states for tracking the deployed Hive Metastore.
Enabling the Module
To enable the managed-hive-metastore module, apply the following manifest:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: managed-hive-metastore
spec:
enabled: true
version: 1After enabling the module, a cluster-wide HiveMetastoreClass resource named default will be created automatically.
Quick Start
For module usage examples, see:
Main Resources
The Managed Service Hive Metastore module provides tools for two conditional roles: User and Administrator.
The main module objects are Hive Metastore, Hive Metastore Class resources and the Hive Metastore Operator state controller.
Conditional Administrator role:
- manages the cluster wide
Hive Metastoreresource and creates validation templates, scheduling rules, configuration for future services deployed in DKP. - Has access to the system namespace
d8-managed-hive-metastore, whereHive Metastore Operatoris deployed, to its service logs, state. Conditional User role: - manages the
Hive Metastoreresource and configures the service keep in mind theHive Metastore Classcreated by the Administrator.
Administrator Resources
HiveMetastoreClass
The HiveMetastoreClass resource allows you to restrict the creation of invalid configurations and predefine some values.
Every HiveMetastore resource must be linked to an existing HiveMetastoreClass resource.
Before deploying the service, all configuration will be checked against the corresponding HiveMetastoreClass.
Detailed resource description
Hive Metastore Operator
When the module is enabled, the Hive Metastore Operator controller is deployed in the system namespace d8-managed-hive-metastore
and reconciles the states of Hive Metastore and the final service in all user namespaces.
User Resources
Hive Metastore
The main resource that describes the state of the service. It must be created within the user namespace and serves as the source of truth for the specific deployed hive metastore service. Detailed resource description