[ 
https://issues.apache.org/jira/browse/YARN-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978794#comment-14978794
 ] 

Sunil G commented on YARN-4290:
-------------------------------

Proposed CLI o/p:

{noformat}
root@sunil-Inspiron-3543:/opt/hadoop/trunk/hadoop-3.0.0-SNAPSHOT/bin# ./yarn 
node -list -showDetails
15/10/28 22:33:11 INFO client.RMProxy: Connecting to ResourceManager at 
/127.0.0.1:25001
Total Nodes:1
         Node-Id             Node-State Node-Http-Address       
Number-of-Running-Containers
 localhost:25006                RUNNING   localhost:25008                       
           0
 Detailed Node Information : 
        Memory-Used(Capacity) : 0MB (8192MB)
        CPU-Used(Capacity) : 0 vcores (8 vcores)
        Node-ResourceUtilization : <pmem: 1024MB, vmem: 0MB , vCores: 2.9871>
        Containers-ResourceUtilization : <pmem: 0MB, vmem: 0MB , vCores: 0>
        Node-Labels :
{noformat}

> "yarn nodes -list" should print all nodes reports information
> -------------------------------------------------------------
>
>                 Key: YARN-4290
>                 URL: https://issues.apache.org/jira/browse/YARN-4290
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client
>            Reporter: Wangda Tan
>            Assignee: Sunil G
>
> Currently, "yarn nodes -list" command only shows 
> - "Node-Id", 
> - "Node-State", 
> - "Node-Http-Address",
> - "Number-of-Running-Containers"
> I think we need to show more information such as used resource, just like 
> "yarn nodes -status" command.
> Maybe we can add a parameter to -list, such as "-show-details" to enable 
> printing all detailed information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to