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

(cherry picked from commit 5d6554c722f08f79bce904e021243605ee75bae3)
This commit is contained in:
Weiwei Yang 2018-11-06 14:50:09 +08:00
parent c3a0f07db0
commit ddb349ceb3

View File

@ -1387,8 +1387,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;
} }