[ https://issues.apache.org/jira/browse/YARN-11517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736237#comment-17736237 ]
ASF GitHub Bot commented on YARN-11517: --------------------------------------- goiri commented on code in PR #5766: URL: https://github.com/apache/hadoop/pull/5766#discussion_r1238866913 ########## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRouterCLI.java: ########## @@ -120,7 +122,10 @@ public void testDeregisterSubCluster() throws Exception { ByteArrayOutputStream dataOut = new ByteArrayOutputStream(); System.setOut(new PrintStream(dataOut)); oldOutPrintStream.println(dataOut); - String[] args = {"-deregisterSubCluster", "-c", "SC-1"}; + String[] args = {"-deregisterSubCluster", "-sc", "SC-1"}; Review Comment: Wait, where does the -c came from? ########## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRouterCLI.java: ########## @@ -120,7 +122,10 @@ public void testDeregisterSubCluster() throws Exception { ByteArrayOutputStream dataOut = new ByteArrayOutputStream(); System.setOut(new PrintStream(dataOut)); oldOutPrintStream.println(dataOut); - String[] args = {"-deregisterSubCluster", "-c", "SC-1"}; + String[] args = {"-deregisterSubCluster", "-sc", "SC-1"}; Review Comment: Aren't we changing the interface here? I don't think we should break backwards compatibility. > Improve Federation#RouterCLI deregisterSubCluster Code > ------------------------------------------------------ > > Key: YARN-11517 > URL: https://issues.apache.org/jira/browse/YARN-11517 > Project: Hadoop YARN > Issue Type: Sub-task > Components: federation, router > Reporter: Shilun Fan > Assignee: Shilun Fan > Priority: Major > Labels: pull-request-available > -- 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