Elasticsearch Catalog#
Add an Elasticsearch catalog to the cluster along with an ES container with some preloaded data.
Usage#
Module Uses Persistent Storage
This module uses named volumes to persist data. To delete these volumes, run:
minitrino remove --volumes --module ${module}
Provision the module:
minitrino provision -m elasticsearch
Connect to the coordinator container’s Trino CLI:
minitrino exec -i 'trino-cli'
Confirm Elasticsearch is reachable:
SHOW SCHEMAS FROM elasticsearch;
Loading Data#
The Elasticsearch REST API is exposed on localhost:9200. Data can be loaded
through that, or by using the script provided in the module:
lib/modules/catalog/elasticsearch/resources/cluster/bootstrap-es.sh