hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PengZhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1829) CapacityScheduler can't schedule job after misconfiguration
Date Thu, 13 Mar 2014 08:36:44 GMT
PengZhang created YARN-1829:

             Summary: CapacityScheduler can't schedule job after misconfiguration
                 Key: YARN-1829
                 URL: https://issues.apache.org/jira/browse/YARN-1829
             Project: Hadoop YARN
          Issue Type: Bug
          Components: capacityscheduler
            Reporter: PengZhang

CapacityScheduler will validate new configuration to make sure all existing queues are still
present. But it seems not enough:
1.When we change one queue(name A) from leaf to parent, it will pass validation and add it's
new child(X) to queues. And later root.reinitialize() will fail because of queue type has
2.Then we add new parent queue(name B) with children(X), and change queue(A)'s state to STOPPED.
This will apply successfully. but job submitted to queue(X) can never be scheduled. Because
LeafQueue(X) has already been added in phase 1, and it's parent points to A which is STOPPED.

queues: root, A

reinitialize failed, but X is added to queues
queues: root, A, X

  / \
 A   B
new node X will not replace old one
queues: root, A, X(value is not LeafQueue that in the tree)

This message was sent by Atlassian JIRA

View raw message