YARN-2159. Better logging in SchedulerNode#allocateContainer. (Ray Chiang via kasha)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1603003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Karthik Kambatla 2014-06-16 20:45:38 +00:00
parent b98da7f3b5
commit 082c2ab8b8
2 changed files with 5 additions and 2 deletions

View File

@ -164,6 +164,9 @@ Release 2.5.0 - UNRELEASED
YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug
level. (Wangda Tan via jianhe)
YARN-2159. Better logging in SchedulerNode#allocateContainer.
(Ray Chiang via kasha)
OPTIMIZATIONS
BUG FIXES

View File

@ -130,9 +130,9 @@ public synchronized void allocateContainer(RMContainer rmContainer) {
LOG.info("Assigned container " + container.getId() + " of capacity "
+ container.getResource() + " on host " + rmNode.getNodeAddress()
+ ", which currently has " + numContainers + " containers, "
+ ", which has " + numContainers + " containers, "
+ getUsedResource() + " used and " + getAvailableResource()
+ " available");
+ " available after allocation");
}
/**