YARN-3875. FSSchedulerNode#reserveResource() doesn't print Application Id
properly in log. Contributed by Bibin A Chundatt.
(cherry picked from commit 37d7395773
)
This commit is contained in:
parent
0d94a293a8
commit
e1ca886419
|
@ -538,6 +538,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3830. AbstractYarnScheduler.createReleaseCache may try to clean a null
|
YARN-3830. AbstractYarnScheduler.createReleaseCache may try to clean a null
|
||||||
attempt. (nijel via devaraj)
|
attempt. (nijel via devaraj)
|
||||||
|
|
||||||
|
YARN-3875. FSSchedulerNode#reserveResource() doesn't print Application Id
|
||||||
|
properly in log. (Bibin A Chundatt via devaraj)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -68,12 +68,13 @@ public class FSSchedulerNode extends SchedulerNode {
|
||||||
" on node " + this);
|
" on node " + this);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.info("Updated reserved container " +
|
LOG.info("Updated reserved container " + container.getContainer().getId()
|
||||||
container.getContainer().getId() + " on node " +
|
+ " on node " + this + " for application "
|
||||||
this + " for application " + application);
|
+ application.getApplicationId());
|
||||||
} else {
|
} else {
|
||||||
LOG.info("Reserved container " + container.getContainer().getId() +
|
LOG.info("Reserved container " + container.getContainer().getId()
|
||||||
" on node " + this + " for application " + application);
|
+ " on node " + this + " for application "
|
||||||
|
+ application.getApplicationId());
|
||||||
}
|
}
|
||||||
setReservedContainer(container);
|
setReservedContainer(container);
|
||||||
this.reservedAppSchedulable = (FSAppAttempt) application;
|
this.reservedAppSchedulable = (FSAppAttempt) application;
|
||||||
|
|
Loading…
Reference in New Issue