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

This commit is contained in:
bibinchundatt 2018-01-09 17:57:01 +05:30
parent 783a01eb4a
commit b26e30ab16
1 changed files with 2 additions and 2 deletions

View File

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