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 "Juanjuan Tian (Jira)" <ji...@apache.org> on 2020/08/04 09:14:00 UTC
[jira] [Updated] (YARN-9020) AbsoluteCapacity is wrongly set when
call ParentQueue#setAbsoluteCapacity
[ https://issues.apache.org/jira/browse/YARN-9020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juanjuan Tian updated YARN-9020:
---------------------------------
Summary: AbsoluteCapacity is wrongly set when call ParentQueue#setAbsoluteCapacity (was: set a wrong AbsoluteCapacity when call ParentQueue#setAbsoluteCapacity)
> AbsoluteCapacity is wrongly set when call ParentQueue#setAbsoluteCapacity
> ---------------------------------------------------------------------------
>
> Key: YARN-9020
> URL: https://issues.apache.org/jira/browse/YARN-9020
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Juanjuan Tian
> Assignee: Juanjuan Tian
> Priority: Major
>
> set a wrong AbsoluteCapacity when call ParentQueue#setAbsoluteCapacity
> private void deriveCapacityFromAbsoluteConfigurations(String label,
> Resource clusterResource, ResourceCalculator rc, CSQueue childQueue) {
> // 3. Update absolute capacity as a float based on parent's minResource and
> // cluster resource.
> childQueue.getQueueCapacities().setAbsoluteCapacity(label,
> (float) childQueue.getQueueCapacities().{color:#d04437}getCapacity(){color}
> / getQueueCapacities().getAbsoluteCapacity(label));
>
> {color:#d04437}should be{color} childQueue.getQueueCapacities().setAbsoluteCapacity(label,
> (float) childQueue.getQueueCapacities().{color:#f6c342}getCapacity(label){color}
> / getQueueCapacities().getAbsoluteCapacity(label));
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org