To list nodes consuming YARN resources, you can use the command:
> yarn node -list

Id    State   Http-Address          Running-Containers
s1.altiscale.com:45454 RUNNING s1.altiscale.com:8042  1 
 
 
Then, to see a node’s resource consumption:

> yarn node -status s1.altiscale.com:45454

 Node Report : Node-Id : s1.altiscale.com:45454 Rack : /default-rack Node-State : RUNNING Node-Http-Address : s1.altiscale.com:8042 Last-Health-Update : Tue 19/Aug/14 03:59:36:360PDT Health-Report : Containers : 1 Memory-Used : 250MB Memory-Capacity : 2250MB CPU-Used : 1 vcores CPU-Capacity : 8 vcores
 
Previous Post Next Post