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

(cherry picked from commit 105afd5477)
This commit is contained in:
Tsuyoshi Ozawa 2015-04-22 05:47:59 +09:00
parent b7251723d8
commit 0b87ae27aa
2 changed files with 6 additions and 2 deletions

View File

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

View File

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