hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maysam Yabandeh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1076) RM gets stuck with a reservation, ignoring new containers
Date Sat, 17 Aug 2013 15:16:47 GMT
Maysam Yabandeh created YARN-1076:

             Summary: RM gets stuck with a reservation, ignoring new containers
                 Key: YARN-1076
                 URL: https://issues.apache.org/jira/browse/YARN-1076
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
            Reporter: Maysam Yabandeh
            Priority: Minor

LeafQueue#assignContainers rejects newly available containers if #needContainers returns false:
          if (!needContainers(application, priority, required)) {

When the application has already reserved all the required containers, #needContainers returns
false as long as no starvation is reported:
return (((starvation + requiredContainers) - reservedContainers) > 0);

where starvation is computed based on the attempts on re-reserving a resource. On the other
hand, a resource is re-reserved via #assignContainersOnNode only if it passed the #needContainers
          // Do we need containers at this 'priority'?
          if (!needContainers(application, priority, required)) {

          // Try to schedule
          CSAssignment assignment =  
            assignContainersOnNode(clusterResource, node, application, priority, 

In other words, once needContainers returns false due to a reservation, it keeps rejecting
newly available resources, since no reservation is ever attempted.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message