Skip to content

Commit d2df4ea

Browse files
author
fanshilun
committed
YARN-11761. Fix CheckStyle.
1 parent 7e55415 commit d2df4ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/test/java/org/apache/hadoop/yarn/service/TestYarnNativeServices.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public void testCancelUpgrade() throws Exception {
506506
active.getComponent(component.getName()).getState(), "component not stable");
507507
assertEquals("val0",
508508
active.getComponent(component.getName()).getConfiguration()
509-
.getEnv("key1"),"comp does not have new env");
509+
.getEnv("key1"), "comp does not have new env");
510510
LOG.info("Stop/destroy service {}", service);
511511
client.actionStop(service.getName(), true);
512512
client.actionDestroy(service.getName());

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/test/java/org/apache/hadoop/yarn/service/client/TestServiceCLI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ public void testEnableFastLaunch() throws Exception {
247247
String[] args = {"app", "-D", dependencyTarGzProp, "-enableFastLaunch",
248248
"-appTypes", DUMMY_APP_TYPE};
249249
assertEquals(EXIT_SUCCESS, runCLI(args));
250-
assertTrue(
251-
fs.isFile(defaultPath), "Dependency tarball did not exist after the test");
250+
assertTrue(fs.isFile(defaultPath),
251+
"Dependency tarball did not exist after the test");
252252

253253
File secondBaseDir = new File(dependencyTarGzBaseDir, "2");
254254
Path secondTarGz = getDependencyTarGz(secondBaseDir);

0 commit comments

Comments
 (0)