This commit is contained in:
罗祥
2019-03-18 18:00:01 +08:00
parent 2e4cd523c1
commit 61006f28dc
2 changed files with 27 additions and 5 deletions

View File

@ -101,6 +101,14 @@ YARN中的任务将其进度和状态(包括counter)返回给应用管理器,
## 五、提交作业到YARN上运行
在${HADOOP_HOME}/share/hadoop/mapreduce 目录下存放了样例文本可以提交计算pi的MApReduce作业作为用例
```shell
# 提交格式为
# hadoop jar jar包路径 主类名称 主类参数
# hadoop jar hadoop-mapreduce-examples-2.6.0-cdh5.15.2.jar pi 3 3
```
## 参考资料