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

(cherry picked from commit b26e30ab1655a8cdf369862a5512db5c2a88ec46)
This commit is contained in:
bibinchundatt 2018-01-09 17:57:01 +05:30
parent 215a3d800a
commit 73478e3bbe

View File

@ -438,9 +438,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;
}