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

View File

@ -439,9 +439,9 @@ public boolean accept(Resource cluster,
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;
}