hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3938) AM Resources for leaf queues zero when DEFAULT PARTITION resource is zero
Date Fri, 17 Jul 2015 10:49:04 GMT

     [ https://issues.apache.org/jira/browse/YARN-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bibin A Chundatt updated YARN-3938:
-----------------------------------
    Attachment: Am limit for subqueue.jpg

> AM Resources for leaf queues zero when DEFAULT PARTITION resource is zero
> -------------------------------------------------------------------------
>
>                 Key: YARN-3938
>                 URL: https://issues.apache.org/jira/browse/YARN-3938
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Critical
>         Attachments: Am limit for subqueue.jpg
>
>
> In case of leaf queue  the AM resource calculation is based on {{absoluteCapacityResource}}.
Below is the calculation for absolute capacity
> {{LeafQueue#updateAbsoluteCapacityResource()}}
> {code}
>   private void updateAbsoluteCapacityResource(Resource clusterResource) {
>     absoluteCapacityResource =
>         Resources.multiplyAndNormalizeUp(resourceCalculator, labelManager
>             .getResourceByLabel(RMNodeLabelsManager.NO_LABEL, clusterResource),
>             queueCapacities.getAbsoluteCapacity(), minimumAllocation);
>   }
> {code}
> If default partition resource is zero for all Leaf queue the resource for AM will be
zero
> Snapshot also attached for the same



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

Mime
View raw message