目录
3.yarn applicationattempt查看尝试运行的任务
先运行默认的wordcount :
#启动hadoop
cd /opt/module/
myhadoop.sh start
#查看是否启动成功
jpsall
#运行默认的wordcount
hadoop jar hadoop-3.1.3/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar wordcount /wcinput /output22
一、Yarn的常用命令
1.yarn application查看任务
(1)列出所有Application
yarn application -list