Skip to content

Commit 5820a0a

Browse files
author
slfan1989
committed
YARN-11240. Fix CodeStyle.
1 parent ca537e8 commit 5820a0a

File tree

2 files changed

+2
-2
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src

2 files changed

+2
-2
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/ServiceScheduler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ public void syncSysFs(Service yarnApp) {
11391139
LOG.info("YARN sysfs synchronized.");
11401140
}
11411141
} catch (IOException | URISyntaxException | InterruptedException e) {
1142-
LOG.error("Fail to sync service spec: {}", e.getMessage(), e);
1142+
LOG.error("Fail to sync service spec.", e);
11431143
}
11441144
}
11451145
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ public void testSyncSysFS() {
553553
am.stop();
554554
am.close();
555555
} catch (Exception e) {
556-
LOG.error("Fail to sync sysfs: {}", e.getMessage(), e);
556+
LOG.error("Fail to sync sysfs.", e);
557557
Assert.fail("Fail to sync sysfs.");
558558
}
559559
}

0 commit comments

Comments
 (0)