Yarn常用命令总结
Yarn常用命令总结
1>.查看任务列表
[root@storage101 ~]# yarn application -list 19/02/08 11:51:02 INFO client.RMProxy: Connecting to ResourceManager at storage101.aggrx/10.1.3.101:8032 Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):2 Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL application_1549585395672_0005 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root RUNNING UNDEFINED 10% http://10.1.3.113:36517 application_1549585395672_0006 doc_join_mapreduce MAPREDUCE root root.users.root ACCEPTED UNDEFINED 0% N/A [root@storage101 ~]#
[root@storage101 ~]# yarn application -list -appStates ALL 19/02/08 12:08:22 INFO client.RMProxy: Connecting to ResourceManager at storage101.aggrx/10.1.3.101:8032 Total number of applications (application-types: [] and states: [NEW, NEW_SAVING, SUBMITTED, ACCEPTED, RUNNING, FINISHED, FAILED, KILLED]):6 Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL application_1549585395672_0001 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root KILLED KILLED 100% http://storage101.aggrx:8088/cluster/app/application_1549585395672_0001 application_1549585395672_0002 doc_join_mapreduce MAPREDUCE root root.users.root FINISHED SUCCEEDED 100% http://storage101.aggrx:19888/jobhistory/job/job_1549585395672_0002 application_1549585395672_0005 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root RUNNING UNDEFINED 10% http://10.1.3.113:36517 application_1549585395672_0006 doc_join_mapreduce MAPREDUCE root root.users.root ACCEPTED UNDEFINED 0% N/A application_1549585395672_0003 com.sarrs.streaming.BlackUserStreamingNew5 SPARK root root.users.root FINISHED SUCCEEDED 100% http://storage101.aggrx:18088/history/application_1549585395672_0003/1 application_1549585395672_0004 doc_join_mapreduce MAPREDUCE root root.users.root FINISHED SUCCEEDED 100% http://storage101.aggrx:19888/jobhistory/job/job_1549585395672_0004 [root@storage101 ~]#
2>.查看yarn的日志
3>.
未完待续.....
本文来自博客园,作者:尹正杰,转载请注明原文链接:https://www.cnblogs.com/yinzhengjie/p/10349530.html,个人微信: "JasonYin2020"(添加时请备注来源及意图备注,有偿付费)
当你的才华还撑不起你的野心的时候,你就应该静下心来学习。当你的能力还驾驭不了你的目标的时候,你就应该沉下心来历练。问问自己,想要怎样的人生。