hetu-core/docker
leoluheng 1451f4267b Improvements to docker image build and usage
- Use Git hash as image tag by default
- Support custom image tags
- Merge custom configurations with defaults in the docker image
- Merge custom catalog and filesystem settings
- Add JVM options to respect docker memory settings
- Add entrypoint options to specify Java -Xmx heap size
- Move docker swarm deployment file to new samples folder
- Add sample k8s deployment file with README
- Add sample swarm deployment file with README
- Add script to gracefully shutdown hetu node
- Add log when node state changes

In kubernetes yml file:
- Use new jvmXmx parameter to specify Hetu memory limit

In Web UI:
- Change all absolute paths to relative ones

Quick fix of build-local: fetch project version by dep.hetu.version instead of project.version

Quick fix of run-hetu for kubernetes mounted files

Update base image to be configurable

Minor bug fixes
2020-07-31 12:03:33 -03:00
..
bin Improvements to docker image build and usage 2020-07-31 12:03:33 -03:00
default/etc Improvements to docker image build and usage 2020-07-31 12:03:33 -03:00
Dockerfile Improvements to docker image build and usage 2020-07-31 12:03:33 -03:00
README.md fix link issues and typo 2020-06-29 23:13:40 +08:00
build-local.sh Improvements to docker image build and usage 2020-07-31 12:03:33 -03:00
container-test.sh Improvements to docker image build and usage 2020-07-31 12:03:33 -03:00

README.md

openLooKeng Docker Image

About the Container

This Docker image is designed to provide the following

  • An out-of-the-box single node cluster with the JMX, memory, TPC-DS, and TPC-H catalogs
  • An image that can be deployed as a full cluster by mounting in configuration
  • An image to be used as the basis for the Kubernetes openLooKeng operator

Configuration

Configuration is expected to be mounted to either to /etc/hetu or /usr/lib/hetu/etc (the latter takes precedence). If neither of these exists then the default single node configuration will be used.

Specific Config Options

node.environment

The container supplied run-hetu command, upon receiving a user-defined node.environment, will set the config property node.id to "{node.environment}-{hostname}", where the hostname is specific to the container, if node.id is not specified in the node.properties file. This allows for node.properties to be a static file across all worker nodes if desired. Additionally this has the added benefit of node.id being consistent, predictable, and stable through restarts.

node.data-dir

The default configuration uses /var/lib/hetu/data/ as the default for node.data-dir. Thus if using the default configuration and a mounted volume is desired for the data directory it should be mounted to /var/lib/hetu/data/.