YARN-3495. Confusing log generated by FairScheduler. Contributed by Brahma Reddy Battula.

This commit is contained in:
Tsuyoshi Ozawa 2015-04-22 05:47:59 +09:00
parent 73ddb6b4f8
commit 105afd5477
2 changed files with 6 additions and 2 deletions

View File

@ -233,6 +233,9 @@ Release 2.8.0 - UNRELEASED
YARN-3136. Fixed a synchronization problem of
AbstractYarnScheduler#getTransferredContainers. (Sunil G via jianhe)
YARN-3495. Confusing log generated by FairScheduler.
(Brahma Reddy Battula via ozawa)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -796,7 +796,8 @@ public class FairScheduler 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;
}
@ -809,7 +810,7 @@ public class FairScheduler extends
container.getId().getApplicationAttemptId().getApplicationId();
if (application == null) {
LOG.info("Container " + container + " of" +
" unknown application attempt " + appId +
" finished application " + appId +
" completed with event " + event);
return;
}