tree: 96d2ea32480b843fff1b48b7d81685a2372aa1c0 [path history] [tgz]
  1. common/
  2. ozone/
  3. ozone-hdfs/
  4. ozoneblockade/
  5. ozonefs/
  6. ozoneperf/
  7. ozones3/
  8. ozonescripts/
  9. ozonesecure/
  10. ozonesecure-mr/
  11. ozonetrace/
  12. README.md
hadoop-ozone/dist/src/main/compose/README.md

Docker cluster definitions

This directory contains multiple docker cluster definitions to start local pseudo cluster with different configuration.

It helps to start local (multi-node like) pseudo cluster with docker and docker-compose and obviously it's not for production.

You may find more information in the specific subdirectories but in generic you can use the following commands:

Usage

To start a cluster go to a subdirectory and start the cluster:

docker-compose up -d

You can check the logs of all the components with:

docker-compose logs

In case of a problem you can destroy the cluster an delete all the local state with:

docker-compose down

(Note: a simple docker-compose stop may not delete all the local data).

You can scale up and down the components:

docker-compose scale datanode=5

Usually the key webui ports are published on the docker host.

Known issues

The base image used here is apache/hadoop-runner, which runs with JDK8 by default. You may run with JDK11 by specify apache/hadoop-runner:jdk11 as base image in simple mode. But in secure mode, JDK 11 is not fully supported yet due to JDK8 dependencies from hadoop-common jars.