Skip to content

Commit 991d6a9

Browse files
committed
YARN-11485. Fix CheckStyle.
1 parent e110524 commit 991d6a9

File tree

1 file changed

+4
-4
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli

1 file changed

+4
-4
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,14 +1105,14 @@ public void testParseSubClusterId() throws Exception {
11051105
rmAdminCLI.getConf().setBoolean(YarnConfiguration.FEDERATION_ENABLED, true);
11061106

11071107
// replaceLabelsOnNode
1108-
String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode" ,
1109-
"node1:8000,x node2:8000=y node3,x node4=Y", "-subClusterId", "SC-1" };
1108+
String[] replaceLabelsOnNodeArgs = {"-replaceLabelsOnNode",
1109+
"node1:8000,x node2:8000=y node3,x node4=Y", "-subClusterId", "SC-1"};
11101110
assertEquals(0, rmAdminCLI.run(replaceLabelsOnNodeArgs));
11111111

1112-
String[] refreshQueuesArgs = { "-refreshQueues" , "-subClusterId", "SC-1" };
1112+
String[] refreshQueuesArgs = {"-refreshQueues", "-subClusterId", "SC-1"};
11131113
assertEquals(0, rmAdminCLI.run(refreshQueuesArgs));
11141114

1115-
String[] refreshNodesResourcesArgs = { "-refreshNodesResources" , "-subClusterId", "SC-1" };
1115+
String[] refreshNodesResourcesArgs = {"-refreshNodesResources", "-subClusterId", "SC-1"};
11161116
assertEquals(0, rmAdminCLI.run(refreshNodesResourcesArgs));
11171117

11181118
String nodeIdStr = "0.0.0.0:0";

0 commit comments

Comments
 (0)