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 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to