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

ASF GitHub Bot commented on YARN-11706:
---------------------------------------

granewang commented on code in PR #6957:
URL: https://github.com/apache/hadoop/pull/6957#discussion_r1708891316


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java:
##########
@@ -172,6 +175,14 @@ public class RMAdminCLI extends HAAdmin {
                   "Update resource on specific node."))
           .build();
 
+  private final static Map<String, UsageInfo> YARN_HA_USAGE =
+      ImmutableMap.<String, UsageInfo> builder()
+          .put("-failover", new UsageInfo(
+                  "<serviceId> <serviceId>",

Review Comment:
   Thanks for review ,
   USAGE from HAAdmin.java does not  contain usage and help information about 
failover,so YARN_HA_USAGE  structure is added here for appending these 
information 





> Make yarn rmadmin tool  support failover function
> -------------------------------------------------
>
>                 Key: YARN-11706
>                 URL: https://issues.apache.org/jira/browse/YARN-11706
>             Project: Hadoop YARN
>          Issue Type: New Feature
>    Affects Versions: 3.3.6
>            Reporter: wangzhongwei
>            Assignee: wangzhongwei
>            Priority: Major
>              Labels: pull-request-available
>
> Currently,yarn rmadmin can not support failover.This failover step is just 
> the same as step :
> yarn rmadmin -transitionToStandby -forcemanual rm1
> yarn rmadmin -transitionToActive -forcemanual rm2



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to