YARN-4689. FairScheduler: Cleanup preemptContainer to be more readable. (Kai Sasaki via kasha)
(cherry picked from commit 2ab4c476ed
)
This commit is contained in:
parent
ad4fcd1f9f
commit
33c1988595
|
@ -73,6 +73,10 @@ Release 2.9.0 - UNRELEASED
|
||||||
YARN-4655. Log uncaught exceptions/errors in various thread pools in YARN.
|
YARN-4655. Log uncaught exceptions/errors in various thread pools in YARN.
|
||||||
(Sidharta Seethana via vvasudev)
|
(Sidharta Seethana via vvasudev)
|
||||||
|
|
||||||
|
YARN-4689. FairScheduler: Cleanup preemptContainer to be more readable.
|
||||||
|
(Kai Sasaki via kasha)
|
||||||
|
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -266,10 +266,8 @@ public class FSParentQueue extends FSQueue {
|
||||||
LOG.debug("skipping from queue=" + getName()
|
LOG.debug("skipping from queue=" + getName()
|
||||||
+ " because it's a non-preemptable queue");
|
+ " because it's a non-preemptable queue");
|
||||||
}
|
}
|
||||||
continue;
|
} else if (candidateQueue == null ||
|
||||||
}
|
comparator.compare(queue, candidateQueue) > 0) {
|
||||||
if (candidateQueue == null ||
|
|
||||||
comparator.compare(queue, candidateQueue) > 0) {
|
|
||||||
candidateQueue = queue;
|
candidateQueue = queue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue