You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "sandflee (JIRA)" <ji...@apache.org> on 2016/07/30 15:54:20 UTC

[jira] [Created] (YARN-5453) FairScheduler#update may skip update demand resource of child queue/app if current demand reached maxResource

sandflee created YARN-5453:
------------------------------

             Summary: FairScheduler#update may skip update demand resource of child queue/app if current demand reached maxResource
                 Key: YARN-5453
                 URL: https://issues.apache.org/jira/browse/YARN-5453
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: sandflee
            Assignee: sandflee


{code}
      demand = Resources.createResource(0);
      for (FSQueue childQueue : childQueues) {
        childQueue.updateDemand();
        Resource toAdd = childQueue.getDemand();
        demand = Resources.add(demand, toAdd);
        demand = Resources.componentwiseMin(demand, maxRes);
        if (Resources.equals(demand, maxRes)) {
          break;
        }
      }
{code}
if one singe queue's demand resource exceed maxRes,  the other queue's demand resource will not update.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org