Hive Catalog#
Add a Hive catalog to the cluster along with a Hive metastore for storing table metadata and MinIO object storage for storing table data.
Usage#
Module Uses Persistent Storage
This module uses named volumes to persist data. To delete these volumes, run:
minitrino remove --volumes --module ${module}
minitrino provision -m hive
Connect to the coordinator container’s Trino CLI:
minitrino exec -i 'trino-cli'
Confirm Hive is reachable:
SHOW SCHEMAS FROM hive;
Create a table:
CREATE TABLE hive.minitrino.customer
WITH (
location = 's3a://minitrino/minitrino_hive/'
)
AS SELECT * FROM tpch.tiny.customer;
Dependent Modules#
minio: Required for object storage.