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 "Andrew Wang (JIRA)" <ji...@apache.org> on 2017/12/01 23:14:00 UTC

[jira] [Updated] (YARN-7471) queueUsagePercentage is wrongly calculated for applications in zero-capacity queues

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

Andrew Wang updated YARN-7471:
------------------------------
    Target Version/s: 3.1.0  (was: 3.0.0-alpha4)

> queueUsagePercentage is wrongly calculated for applications in zero-capacity queues
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-7471
>                 URL: https://issues.apache.org/jira/browse/YARN-7471
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>         Attachments: YARN-7471.001.patch
>
>
> For applicaitons in zero-capacity queues, queueUsagePercentage is wrongly calculated to INFINITY with expression (queueUsagePercentage = usedResource / (totalPartitionRes * queueAbsMaxCapPerPartition) when the queueAbsMaxCapPerPartition=0.
> We can add a precondition (queueAbsMaxCapPerPartition != 0) before this calculation to fix this problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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