Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix Maven command, remove Protobuf requirement, fix directory names

...

  1. git
  2. Java (OpenJDK 8)
  3. Maven (3.3 or later)
  4. protoc 2.5 (Read the Tips and Tricks > Protobuf section in case you need help)

Optional tools:

  1. docker and docker-compose: to start pseudo cluster locally
  2. robotframework: to execute acceptance tests and generate the report
  3. kubernetes tools (kubectl, kubens, flekszible) to deploy to kubernetes
  4. hugo (to update the documentation)

...

Code Block
languagebash
themeRDark
git clone https://github.com/apache/ozone.git
cd ozone
mvn clean install package -DskipShade -DskipRecon -DskipTests -Pdist -Dtar

under the -ozone/dist project:

Code Block
cd ozone/dist/target/ozone-0.5.0-SNAPSHOT

The easiest way to start a cluster is using docker and docker compose

Code Block
cd hadoop-ozone/dist/target/ozone-0.5.0*-SNAPSHOT/compose/ozone
docker-compose up -d
firefox --scale datanode=3
open http://localhost:9876

IntelliJ setup

...

Ozone can be started directly from Intellij. You need some Run Configurations to define the startup of the projects but the example definitions are committed with a helper script which can copy the configrations to the right place. Please see the (moved) Run Ozone cluster from IDE for more details.

Troubleshooting

...

Ozone has multiple type of tests including unit tests, integration tests and acceptance tests. Please see the following page for more details: (moved) Ozone test tools

  1. Please prefer to use pure unit tests instead of MiniOzoneCluster based acceptance testing
  2. If you would like to test end2end workflows, please consider to write robotframework based acceptance tests.

...