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

Sunil G updated YARN-2647:
--------------------------
    Attachment: 0001-YARN-2647.patch

Hi [~gp.leftnoteasy]

Please find an initial patch.

I used below commands for now, pls share your thoughts.

a.
{code}
yarn queue -listall
{code}

Lists the complete info from all queues.

b.
{code}
yarn queue -list <QueueName> 
{code}

Lists the information from a given Queue Name.

c.
{code}
yarn queue -list <QueueName> -showNodeLabels
{code}

Lists the Node Labels of the given queue

d.
{code}
yarn queue -showAcls
{code}

Lists the ACLs from all queues for the current user

Finally, I will be printing information's as given below
{code}
Queue Name : queueA
        Node Labels : JDK_7,GPU
        State : RUNNING
        Capacity : 40.0%
        Current Capacity : 50.0%
{code}

Kindly share your thoughts.. 

> Add yarn queue CLI to get queue info including labels of such queue
> -------------------------------------------------------------------
>
>                 Key: YARN-2647
>                 URL: https://issues.apache.org/jira/browse/YARN-2647
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Wangda Tan
>            Assignee: Sunil G
>         Attachments: 0001-YARN-2647.patch
>
>




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

Reply via email to