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

(cherry picked from commit 5d6554c722)
This commit is contained in:
Weiwei Yang 2018-11-06 14:50:09 +08:00
parent 71999f4464
commit 631b31110c
1 changed files with 2 additions and 2 deletions

View File

@ -1539,8 +1539,8 @@ public class CapacityScheduler extends
.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;
} }