YARN-3197. Confusing log generated by CapacityScheduler. Contributed by

Varun Saxena.
This commit is contained in:
Devaraj K 2015-03-17 15:57:57 +05:30
parent 018893e81e
commit 7179f94f9d
2 changed files with 6 additions and 2 deletions

View File

@ -63,6 +63,9 @@ Release 2.8.0 - UNRELEASED
BUG FIXES
YARN-3197. Confusing log generated by CapacityScheduler. (Varun Saxena
via devaraj)
Release 2.7.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -1279,7 +1279,8 @@ public class CapacityScheduler extends
protected synchronized void completedContainer(RMContainer rmContainer,
ContainerStatus containerStatus, RMContainerEventType event) {
if (rmContainer == null) {
LOG.info("Null container completed...");
LOG.info("Container " + containerStatus.getContainerId() +
" completed with event " + event);
return;
}
@ -1291,7 +1292,7 @@ public class CapacityScheduler extends
ApplicationId appId =
container.getId().getApplicationAttemptId().getApplicationId();
if (application == null) {
LOG.info("Container " + container + " of" + " unknown application "
LOG.info("Container " + container + " of" + " finished application "
+ appId + " completed with event " + event);
return;
}