zoukankan      html  css  js  c++  java
  • 3月6

    yarn application 命令:

    application master 
    bin/yarn-session.sh -jm 1024m -tm 4096m
    
    hadoop classes
    
    export HADOOP_CLASSPATH='hadoop classpath'
    
    yarn logs -applicationId application_1614690943057_0029
    [root@cbp1 kafkaToES]# yarn node list
    Invalid Command Usage : 
    usage: node
     -all               Works with -list to list all nodes.
     -list              List all running nodes. Supports optional use of
                        -states to filter nodes based on node state, all -all
                        to list all nodes.
     -states <States>   Works with -list to filter nodes based on input
                        comma-separated list of node states.
     -status <NodeId>   Prints the status report of the node.
    [root@cbp1 kafkaToES]# yarn node -list
    21/03/07 20:34:07 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm69
    Total Nodes:3
             Node-Id         Node-State    Node-Http-Address    Number-of-Running-Containers
    cbp3.chinaoly.com:8041            RUNNING    cbp3.chinaoly.com:8042                               0
    cbp2.chinaoly.com:8041            RUNNING    cbp2.chinaoly.com:8042                               1
    cbp1.chinaoly.com:8041            RUNNING    cbp1.chinaoly.com:8042                               1
    ########## 今天的苦逼是为了不这样一直苦逼下去!##########
  • 相关阅读:
    新概念4-27
    胡雪岩06
    新概念4-26
    新概念4-25
    作业01
    day 01 小结
    计算机编程基础
    计算机组成
    markdown文档的编写
    zoj 2674 Strange Limit 欧拉定理应用 (3-E)
  • 原文地址:https://www.cnblogs.com/ruii/p/14490881.html
Copyright © 2011-2022 走看看