YARN-7508. NPE in FiCaSchedulerApp when debug log enabled in async-scheduling mode. Contributed by Tao Yang.

(cherry picked from commit b26e30ab16)
This commit is contained in:
bibinchundatt 2018-01-09 17:57:01 +05:30
parent 5e8029eff9
commit 7ee994a536
1 changed files with 2 additions and 2 deletions

View File

@ -438,9 +438,9 @@ public class FiCaSchedulerApp extends SchedulerApplicationAttempt {
if (LOG.isDebugEnabled()) {
LOG.debug("Try to re-reserve a container, but node "
+ schedulerContainer.getSchedulerNode()
+ " is already reserved by another container"
+ " is already reserved by another container="
+ schedulerContainer.getSchedulerNode()
.getReservedContainer().getContainerId());
.getReservedContainer());
}
return false;
}