...
- git
- Java (OpenJDK 8)
- Maven (3.3 or later)
- protoc 2.5 (Read the Tips and Tricks > Protobuf section in case you need help)
Optional tools:
- docker and docker-compose: to start pseudo cluster locally
- robotframework: to execute acceptance tests and generate the report
- kubernetes tools (kubectl, kubens, flekszible) to deploy to kubernetes
- hugo (to update the documentation)
...
Code Block | ||||
---|---|---|---|---|
| ||||
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
- Please prefer to use pure unit tests instead of MiniOzoneCluster based acceptance testing
- If you would like to test end2end workflows, please consider to write robotframework based acceptance tests.
...