zoukankan      html  css  js  c++  java
  • 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>.

    未完待续.....

  • 相关阅读:
    网络设备安全需求规格
    web安全法则
    Write Hole 问题
    如何同步master的代码到fork分支代码
    Self assignment
    Uninitialized scalar variable
    Operands of different size in bitwise operation
    Insecure Compiler Optimization
    negative array index read
    Unintended sign extension
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/10349530.html
Copyright © 2011-2022 走看看