YARN-3197. Confusing log generated by CapacityScheduler. Contributed by
Varun Saxena.
(cherry picked from commit 7179f94f9d
)
This commit is contained in:
parent
6ddb1bc857
commit
895588b439
|
@ -15,6 +15,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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue