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

    未完待续.....

  • 相关阅读:
    linux shell if 参数
    SHELL输出颜色和闪烁控制
    http层负载均衡之 haproxy实践篇
    linux系统查找大文件脚本
    Nginx的try_files指令和命名location使用实例
    Java SpringMVC实现PC端网页微信扫码支付完整版
    IPTABLES基本例子
    MAC上反编译android apk---apktool, dex2jar, jd-jui安装使用(含手动签名)
    spring mvc 集成freemarker模板
    Python—正则表达式
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/10349530.html
Copyright © 2011-2022 走看看