[ 
https://issues.apache.org/jira/browse/YARN-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G updated YARN-4290:
--------------------------
    Attachment: 0002-YARN-4290.patch

Uploading a new patch as related tickets are committed

Sample o/p
{noformat}
root@sunil-Inspiron-3543:/opt/hadoop/trunk/hadoop-3.0.0-SNAPSHOT/bin# ./yarn 
node -list -showDetails
15/12/18 21:24:21 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 : 
        Configured Resources : <memory:8192, vCores:8>
        Allocated Resources : <memory:0, vCores:0>
        Resource Utilization by Node : PMem:4884 MB, VMem:4884 MB, 
VCores:2.5824726
        Resource Utilization by Containers : PMem:0 MB, VMem:0 MB, VCores:0.0
        Node-Labels :
{noformat}
[~leftnoteasy] and [~Naganarasimha Garla], please help to share your thoughts.

> "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
>         Attachments: 0002-YARN-4290.patch
>
>
> 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