YARN-300. After YARN-271, fair scheduler can infinite loop and not schedule any application. Contributed by Sandy Ryza.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1428387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
19a291a0d6
commit
0768f96a83
|
@ -161,6 +161,9 @@ Release 2.0.3-alpha - Unreleased
|
|||
YARN-288. Fair scheduler queue doesn't accept any jobs when ACLs are
|
||||
configured. (Sandy Ryza via tomwhite)
|
||||
|
||||
YARN-300. After YARN-271, fair scheduler can infinite loop and not
|
||||
schedule any application. (Sandy Ryza via tomwhite)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -760,7 +760,7 @@ public class FairScheduler implements ResourceScheduler {
|
|||
// Otherwise, schedule at queue which is furthest below fair share
|
||||
else {
|
||||
int assignedContainers = 0;
|
||||
while (true) {
|
||||
while (node.getReservedContainer() == null) {
|
||||
// At most one task is scheduled each iteration of this loop
|
||||
List<FSLeafQueue> scheds = new ArrayList<FSLeafQueue>(
|
||||
queueMgr.getLeafQueues());
|
||||
|
|
Loading…
Reference in New Issue