[ https://issues.apache.org/jira/browse/YARN-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898083#comment-15898083 ]
Jason Lowe commented on YARN-6195: ---------------------------------- Thanks for the patch, [~benson.qiu]! I'm confused about how labels are supposed to interact with the JMX metrics. There's only one metric for used capacity in a queue even if there are labels? If the used proportion of a capacity is updated, it updates the same metric as for other labels or no label? The metric will always reflect the last update given at the time the metric is examined, meaning there could be wildly different results from reading to reading even if things aren't moving that much on the cluster in reality, e.g.: one reading gets the "fizgig" node label's usage while another gets the default/no label usage. MetricsRegistry.java: "mutable long float" and "mutable float integer" should both be "mutable float" The tabs flagged by the whitespace check need to be removed. > 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: metrics, yarn > Affects Versions: 3.0.0-alpha3 > Reporter: Benson Qiu > Assignee: Benson Qiu > Attachments: YARN-6195.001.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