Versions Compared

Key

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

...

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

...

The easiest way to check your contribution is to use the simplified shell scripts under hadoop-ozone/dev-support/checks. The problems will be printed out the standard output:

For example:

Code Block
hadoop-ozone/dev-support/checks/rat.sh
hadoop-ozone/dev-support/checks/checkstyle.sh
hadoop-ozone/dev-support/checks/findbugs.sh

...

It's always good practice (and fast) to test with the related docker-compose based pseudo clusters:

Code Block
cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone
./test.sh

...

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.

...