YARN-6343. Docker docs MR example is broken (Contributed by Prashant Jha via Daniel Templeton)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/954f7f5e Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/954f7f5e Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/954f7f5e Branch: refs/heads/HDFS-10467 Commit: 954f7f5ed596496b44c7e463e5d6187a1ddddd6d Parents: 29efc15 Author: Daniel Templeton <templ...@apache.org> Authored: Mon Apr 10 09:59:53 2017 -0700 Committer: Inigo <inigo...@apache.org> Committed: Mon Apr 17 11:16:59 2017 -0700 ---------------------------------------------------------------------- .../hadoop-yarn-site/src/site/markdown/DockerContainers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/954f7f5e/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md index e66d079..4de0a6a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md @@ -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 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org