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

Jian He commented on YARN-1527:
-------------------------------

Compiled and run the command myself, now the usage looks as the following:
{code}
Usage: yarn rmadmin
   -refreshQueues 
   -refreshNodes 
   -refreshSuperUserGroupsConfiguration 
   -refreshUserToGroupsMappings 
   -refreshAdminAcls 
   -refreshServiceAcl 
   -getGroups [username]
   -help [cmd]
   -transitionToActive <serviceId>
   -transitionToStandby <serviceId>
   -failover [--forcefence] [--forceactive] <serviceId> <serviceId>
   -getServiceState <serviceId>
   -checkHealth <serviceId>
{code}

> yarn rmadmin command prints wrong usage info:
> ---------------------------------------------
>
>                 Key: YARN-1527
>                 URL: https://issues.apache.org/jira/browse/YARN-1527
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Jian He
>            Assignee: Akira AJISAKA
>              Labels: newbie
>         Attachments: YARN-1527.patch
>
>
> The usage should be: yarn rmadmin, instead of java RMAdmin, and the 
> -refreshQueues should be in the second line.
> {code} Usage: java RMAdmin   -refreshQueues 
>    -refreshNodes 
>    -refreshSuperUserGroupsConfiguration 
>    -refreshUserToGroupsMappings 
>    -refreshAdminAcls 
>    -refreshServiceAcl 
>    -getGroups [username]
>    -help [cmd]
>    -transitionToActive <serviceId>
>    -transitionToStandby <serviceId>
>    -failover [--forcefence] [--forceactive] <serviceId> <serviceId>
>    -getServiceState <serviceId>
>    -checkHealth <serviceId>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to