Versions Compared

Key

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

...

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

*skipShade* is just to make makes compilation faster for development and is not required.

This will give you a tarball in your distribution directory. Here is an example of the tarball that will be generated.

...

At this point, we have an option to set up a physical cluster or run ozone via docker.

Start an

...

Ozone cluster using docker

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

...