Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To build Ozone, please check out the Hadoop sources from the Apache Git Rep. Then check out trunk and build it with the hdds Maven profile enabled.
Code Block
  git clone git://git.apache.org/hadoop.git
 git  git checkout trunk
  mvn clean package install -Phdds -DskipTests=true -Dmaven.javadoc.skip=true -Pdist -Dtar -DskipShade

...

Start an Ozone cluster using docker

Code Block
  cd dev-support/compose/ozone
  docker-compose up -d

For more docker-compose commands, please check the end of the Getting started with docker guide

...

To run commands on your dozone cluster please ssh into the data node.

Code Block
  docker-compose exec datanode bash

...

The following command creates a volume, ten buckets and writes one hundred keys to each bucket using corona.

 

Code Block
  cd hadoop/bin
  ./hdfs freon -mode offline -validateWrites -numOfVolumes 1 -numOfBuckets 10 -numOfKeys 100

...