HDDS-1346. Remove hard-coded version ozone-0.5.0 from ReadMe of ozonesecure-mr docker-compose. Contributed by Xiaoyu Yao.
This closes #652.
This commit is contained in:
parent
9cd66198ee
commit
8a59efee34
@ -19,7 +19,7 @@ to Ozone OM/SCM/NM/DN and Kerberos KDC.
|
|||||||
## Basic setup
|
## Basic setup
|
||||||
|
|
||||||
```
|
```
|
||||||
cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozonesecure-mr
|
cd $(git rev-parse --show-toplevel)/hadoop-ozone/dist/target/ozone-*-SNAPSHOT/compose/ozonesecure-mr
|
||||||
|
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
@ -47,7 +47,7 @@ docker-compose exec rm bash
|
|||||||
kinit -kt /etc/security/keytabs/hadoop.keytab hadoop/rm@EXAMPLE.COM
|
kinit -kt /etc/security/keytabs/hadoop.keytab hadoop/rm@EXAMPLE.COM
|
||||||
export HADOOP_MAPRED_HOME=/opt/hadoop/share/hadoop/mapreduce
|
export HADOOP_MAPRED_HOME=/opt/hadoop/share/hadoop/mapreduce
|
||||||
|
|
||||||
export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/opt/hadoop/share/hadoop/mapreduce/*:/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-0.5.0-SNAPSHOT.jar
|
export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/opt/hadoop/share/hadoop/mapreduce/*:/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-*-SNAPSHOT.jar
|
||||||
|
|
||||||
hadoop fs -mkdir /user
|
hadoop fs -mkdir /user
|
||||||
hadoop fs -mkdir /user/hadoop
|
hadoop fs -mkdir /user/hadoop
|
||||||
@ -56,7 +56,6 @@ hadoop fs -mkdir /user/hadoop
|
|||||||
## Run Examples
|
## Run Examples
|
||||||
|
|
||||||
### WordCount
|
### WordCount
|
||||||
Status: Fully working with HDDS-1299
|
|
||||||
```
|
```
|
||||||
yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar wordcount o3fs://bucket1.vol1/key1 o3fs://bucket1.vol1/key1.count
|
yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar wordcount o3fs://bucket1.vol1/key1 o3fs://bucket1.vol1/key1.count
|
||||||
|
|
||||||
@ -64,13 +63,11 @@ hadoop fs -cat /key1.count/part-r-00000
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Pi
|
### Pi
|
||||||
Status: Not fully working yet, tracked by HDDS-1317
|
|
||||||
```
|
```
|
||||||
yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar pi 10 100
|
yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar pi 10 100
|
||||||
```
|
```
|
||||||
|
|
||||||
### RandomWrite
|
### RandomWrite
|
||||||
Status: Not fully working yet, tracked by HDDS-1317
|
|
||||||
```
|
```
|
||||||
yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar randomwriter -Dtest.randomwrite.total_bytes=10000000 o3fs://bucket1.vol1/randomwrite.out
|
yarn jar $HADOOP_MAPRED_HOME/hadoop-mapreduce-examples-*.jar randomwriter -Dtest.randomwrite.total_bytes=10000000 o3fs://bucket1.vol1/randomwrite.out
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user