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>.

    未完待续.....

  • 相关阅读:
    nginx 正向代理 反向代理 负载均衡
    nginx配置文件常用基本配置指令
    92)http 和https协议入门
    tp6--nginx下pathinfo配置
    tp6省略url里的index.php
    echarts鼠标移上去显示数据
    composer 下载thinkphp6失败
    tp5写入cookie失效
    4.15 Spring Cloud理论基础
    4.14 SpringBoot理论基础
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/10349530.html
Copyright © 2011-2022 走看看