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

 

posted @ 2021-03-06 15:28  Simon92  阅读(117)  评论(0编辑  收藏  举报