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 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 @@ private synchronized void removeApplicationAttempt(
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 @@ protected synchronized void completedContainer(RMContainer rmContainer,
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;
} }