hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1527) yarn rmadmin command prints wrong usage info:
Date Thu, 26 Dec 2013 21:43:52 GMT

    [ 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)

Mime
View raw message