• 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
    [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 ~]# 
    [root@storage101 ~]# yarn application -list -appStates ALL

    2>.查看yarn的日志

    3>.

    未完待续.....

  • 相关阅读:
    Homework template (latex)
    Basic skill of searching
    国庆第三次集训: 2012 ACM-ICPC Asia Regional Contest Chengdu Site
    新学期随笔
    暑期集训感想
    暑期集训 DP 篇
    POJ 1195 Mobile Phones 二维树状数组
    51Nod1246 罐子和硬币,不能均分的题
    一维战舰,一道考区间的好题
    51NOD 1268 和为K的组合 搜索水题
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/10349530.html
Copyright © 2020-2023  润新知