From 6eb94fbbeae341827e987b1648a8e52d55c8b519 Mon Sep 17 00:00:00 2001 From: slfan1989 Date: Thu, 16 Nov 2023 22:39:24 +0800 Subject: [PATCH] YARN-11485. Fix CheckStyle. --- .../org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java index 55ceaef000d40..682df0bd9e750 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java @@ -1105,14 +1105,14 @@ public void testParseSubClusterId() throws Exception { rmAdminCLI.getConf().setBoolean(YarnConfiguration.FEDERATION_ENABLED, true); // replaceLabelsOnNode - String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode", + String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode" , "node1:8000,x node2:8000=y node3,x node4=Y", "-subClusterId", "SC-1" }; assertEquals(0, rmAdminCLI.run(replaceLabelsOnNodeArgs)); - String[] refreshQueuesArgs = { "-refreshQueues", "-subClusterId", "SC-1" }; + String[] refreshQueuesArgs = { "-refreshQueues" , "-subClusterId", "SC-1" }; assertEquals(0, rmAdminCLI.run(refreshQueuesArgs)); - String[] refreshNodesResourcesArgs = { "-refreshNodesResources", "-subClusterId", "SC-1" }; + String[] refreshNodesResourcesArgs = { "-refreshNodesResources" , "-subClusterId", "SC-1" }; assertEquals(0, rmAdminCLI.run(refreshNodesResourcesArgs)); String nodeIdStr = "0.0.0.0:0";