YARN-6343. Docker docs MR example is broken (Contributed by Prashant Jha via Daniel Templeton)

This commit is contained in:
Daniel Templeton 2017-04-10 09:59:53 -07:00
parent 443aa51bc1
commit 14a39907c6
1 changed files with 2 additions and 2 deletions

View File

@ -269,8 +269,8 @@ To submit the pi job to run in Docker containers, run the following commands:
```
vars="YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=hadoop-docker"
hadoop jar hadoop-examples.jar -Dyarn.app.mapreduce.am.env=$vars \
-Dmapreduce.map.env=$vars -Dmapreduce.reduce.env=$vars pi 10 100
hadoop jar hadoop-examples.jar pi -Dyarn.app.mapreduce.am.env=$vars \
-Dmapreduce.map.env=$vars -Dmapreduce.reduce.env=$vars 10 100
```
Note that the application master, map tasks, and reduce tasks are configured