[ 
https://issues.apache.org/jira/browse/YARN-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907541#comment-15907541
 ] 

Jason Lowe commented on YARN-6195:
----------------------------------

Thanks for updating the patch!

I discovered the queue metrics are doing something somewhat sane for labels 
before this change, see YARN-4484.  We probably should do something similar, 
reporting the maximum used% like available is reporting the maximum available.

The findbugs complaint is valid and needs to be fixed.

Nit: We could make the CSQueueUtils call even simpler by retrieving the minimum 
allocation and queue usage from the queue rather than passing them separately.

> Export UsedCapacity and AbsoluteUsedCapacity to JMX
> ---------------------------------------------------
>
>                 Key: YARN-6195
>                 URL: https://issues.apache.org/jira/browse/YARN-6195
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacityscheduler, metrics, yarn
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Benson Qiu
>            Assignee: Benson Qiu
>         Attachments: YARN-6195.001.patch, YARN-6195.002.patch
>
>
> `usedCapacity` and `absoluteUsedCapacity` are currently not available as JMX. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to