YARN-11240. Fix incorrect placeholder in yarn-module. (#4678). Contributed by fanshilun

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
slfan1989 2022-08-24 22:36:36 +08:00 committed by GitHub
parent 052d7f286e
commit 75aff247ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1139,7 +1139,7 @@ public void syncSysFs(Service yarnApp) {
LOG.info("YARN sysfs synchronized.");
}
} catch (IOException | URISyntaxException | InterruptedException e) {
LOG.error("Fail to sync service spec: {}", e);
LOG.error("Fail to sync service spec.", e);
}
}
}

View File

@ -553,7 +553,7 @@ public void testSyncSysFS() {
am.stop();
am.close();
} catch (Exception e) {
LOG.error("Fail to sync sysfs: {}", e);
LOG.error("Fail to sync sysfs.", e);
Assert.fail("Fail to sync sysfs.");
}
}