YARN-4310. FairScheduler: Log skipping reservation messages at DEBUG level (asuresh)
(cherry picked from commit 58d1df585c
)
This commit is contained in:
parent
d6d642a4e3
commit
8943abfb08
|
@ -497,6 +497,8 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3216. Max-AM-Resource-Percentage should respect node labels.
|
YARN-3216. Max-AM-Resource-Percentage should respect node labels.
|
||||||
(Sunil G via wangda)
|
(Sunil G via wangda)
|
||||||
|
|
||||||
|
YARN-4310. FairScheduler: Log skipping reservation messages at DEBUG level (asuresh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
||||||
|
|
|
@ -488,13 +488,15 @@ public class FSAppAttempt extends SchedulerApplicationAttempt
|
||||||
if (existingReservations >= numAllowedReservations) {
|
if (existingReservations >= numAllowedReservations) {
|
||||||
DecimalFormat df = new DecimalFormat();
|
DecimalFormat df = new DecimalFormat();
|
||||||
df.setMaximumFractionDigits(2);
|
df.setMaximumFractionDigits(2);
|
||||||
LOG.info("Reservation Exceeds Allowed number of nodes:" +
|
if (LOG.isDebugEnabled()) {
|
||||||
" app_id=" + getApplicationId() +
|
LOG.debug("Reservation Exceeds Allowed number of nodes:" +
|
||||||
" existingReservations=" + existingReservations +
|
" app_id=" + getApplicationId() +
|
||||||
" totalAvailableNodes=" + totalAvailNodes +
|
" existingReservations=" + existingReservations +
|
||||||
" reservableNodesRatio=" + df.format(
|
" totalAvailableNodes=" + totalAvailNodes +
|
||||||
scheduler.getReservableNodesRatio()) +
|
" reservableNodesRatio=" + df.format(
|
||||||
" numAllowedReservations=" + numAllowedReservations);
|
scheduler.getReservableNodesRatio()) +
|
||||||
|
" numAllowedReservations=" + numAllowedReservations);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue