[
https://issues.apache.org/jira/browse/YARN-11485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788467#comment-17788467
]
ASF GitHub Bot commented on YARN-11485:
---------------------------------------
slfan1989 commented on code in PR #6265:
URL: https://github.com/apache/hadoop/pull/6265#discussion_r1400818911
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:
##########
@@ -1099,4 +1099,27 @@ public void testNoUnsupportedHACommandsInHelp() throws
Exception {
assertFalse(errOut.contains("-failover"));
dataErr.reset();
}
+
+ @Test
+ public void testParseSubClusterId() throws Exception {
+ rmAdminCLI.getConf().setBoolean(YarnConfiguration.FEDERATION_ENABLED,
true);
+
+ // replaceLabelsOnNode
+ String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode" ,
Review Comment:
Thanks for your suggestion! I will fix it.
> [Federation] Router Supports Yarn Admin CLI Cmds.
> -------------------------------------------------
>
> Key: YARN-11485
> URL: https://issues.apache.org/jira/browse/YARN-11485
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: federation
> Affects Versions: 3.4.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> This Jira ticket aims to enhance the Router command by adding support for all
> Yarn Admin CLI options.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]