[
https://issues.apache.org/jira/browse/YARN-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891570#comment-13891570
]
Karthik Kambatla commented on YARN-1531:
----------------------------------------
Thanks Akira. Sorry for the delay in getting around to this. Patch looks mostly
good. I would leave out the following two lines, as yarn rmadmin -failover
isn't really supported currently.
{code}
+ [-failover [--forcefence] [--forceactive] <serviceId>
<serviceId>]
...
+| -failover [--forcefence] [--forceactive] \<serviceId\> \<serviceId\> |
+| | Failover from the first service to the second. Unconditionally fence
+| | services if the --forcefence option is used. Try to failover to the target
+| | service even if it is not ready if the --forceactive option is used.
{code}
> Update yarn command document
> ----------------------------
>
> Key: YARN-1531
> URL: https://issues.apache.org/jira/browse/YARN-1531
> Project: Hadoop YARN
> Issue Type: Bug
> Components: documentation
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Labels: documentaion
> Attachments: YARN-1531.2.patch, YARN-1531.patch
>
>
> There are some options which are not written to Yarn Command document.
> For example, "yarn rmadmin" command options are as follows:
> {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}
> But some of the new options such as "-getGroups", "-transitionToActive", and
> "-transitionToStandby" are not documented.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)