YARN-8970. Improve the debug message in CS#allocateContainerOnSingleNode. Contributed by Zhankun Tang.

This commit is contained in:
Weiwei Yang 2018-11-06 14:50:09 +08:00
parent ffc9c50e07
commit 5d6554c722

View File

@ -1615,8 +1615,8 @@ private CSAssignment allocateContainerOnSingleNode(
.add(node.getUnallocatedResource(), node.getTotalKillableResources()), .add(node.getUnallocatedResource(), node.getTotalKillableResources()),
minimumAllocation) <= 0) { minimumAllocation) <= 0) {
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("This node or this node partition doesn't have available or" LOG.debug("This node or node partition doesn't have available or" +
+ "killable resource"); " preemptible resource");
} }
return null; return null;
} }