Repository: hadoop Updated Branches: refs/heads/HDFS-7240 fb9ba120c -> f76819c7c
HDFS-13304. Document: update the new ozone docker file location. Contributed by Xiaoyu Yao. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f76819c7 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f76819c7 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f76819c7 Branch: refs/heads/HDFS-7240 Commit: f76819c7c693f08e48fe3da6764bf8f815cbb68d Parents: fb9ba12 Author: Anu Engineer <[email protected]> Authored: Fri Mar 16 15:53:48 2018 -0700 Committer: Anu Engineer <[email protected]> Committed: Fri Mar 16 15:53:48 2018 -0700 ---------------------------------------------------------------------- .../src/main/site/markdown/OzoneGettingStarted.md.vm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/f76819c7/hadoop-ozone/ozone-manager/src/main/site/markdown/OzoneGettingStarted.md.vm ---------------------------------------------------------------------- diff --git a/hadoop-ozone/ozone-manager/src/main/site/markdown/OzoneGettingStarted.md.vm b/hadoop-ozone/ozone-manager/src/main/site/markdown/OzoneGettingStarted.md.vm index 3395a8e..07928c7 100644 --- a/hadoop-ozone/ozone-manager/src/main/site/markdown/OzoneGettingStarted.md.vm +++ b/hadoop-ozone/ozone-manager/src/main/site/markdown/OzoneGettingStarted.md.vm @@ -31,7 +31,7 @@ To build Ozone, please checkout the hadoop sources from github. Then checkout the ozone branch, HDFS-7240 and build it. - `git checkout HDFS-7240` -- `mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true -Pdist -Dtar -DskipShade` +- `mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true -Pdist -Phdsl -Dtar -DskipShade` skipShade is just to make compilation faster and not really required. @@ -53,7 +53,7 @@ these following commands to see ozone in action. Go to the directory where the docker compose files exist. - - `cd dev-support/compose/ozone` + - `cd hadoop-dist/target/compose/ozone` Tell docker to start ozone, this will start a KSM, SCM and a single datanode in the background. @@ -66,13 +66,13 @@ Now let us run some work load against ozone, to do that we will run freon. This will log into the datanode and run bash. - `docker-compose exec datanode bash` - - `cd hadoop/bin` + - `cd /opt/hadoop/bin` Now you can run the oz command shell or freon, the ozone load generator. This is the command to run freon. - - `./hdfs freon -mode offline -validateWrites -numOfVolumes 1 -numOfBuckets 10 -numOfKeys 100` + - `./oz freon -mode offline -validateWrites -numOfVolumes 1 -numOfBuckets 10 -numOfKeys 100` You can checkout the KSM UI to see the requests information. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
