The simplest way to try out ozone is to run ozone via Docker. Apache publishes docker images of ozone to make it easy to try out ozone.
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | DockerHub |
---|
|
docker pull apache/ozone
docker-compose build
docker-compose up -d --scale datanode=3 |
At this point you have a running Ozone cluster with three data nodes. You can run standard Docker commands like ps to verify that you have running cluster.
You can ssh into one of the running containers and try out various commands.
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | ssh |
---|
|
docker-compose exec datanode bash |
You can even try out some of the built-in load generator for Ozone.
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | Freon |
---|
|
ozone freon rk |
Freon is a load generator for Ozone and you quit running it via CTRL-C any time.
Once you have seen how to run the cluster, you can explore by running more commands and when you are down shut down the docker cluster by running
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | Shutdown cluster |
---|
|
docker-compose down |
Thank you for trying out Ozone cluster.
Introduction
...
Checklist
...
Progress Bar Container |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step1 |
---|
url | Evaluate Ozone |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step2 |
---|
url | Running via DockerHub |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step3 |
---|
url | Running via Apache Release |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step4 |
---|
url | Downloading Sources |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step5 |
---|
url | Building Sources |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step6 |
---|
url | Single Node Deployment |
---|
|
Progress Bar - Hyperlink Step |
---|
title | Step7 |
---|
url | Multi Node Ozone Cluster |
---|
|
|
...