[
https://issues.apache.org/jira/browse/YARN-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224433#comment-15224433
]
Eric Payne commented on YARN-4751:
----------------------------------
bq. As mentioned, we are not setting usedCapacity per label in 2.7 I think. So
will above code work or I missed something? If its fine, may be can we
calculate again by userd_resource/total_resource way.
Thanks [~sunilg]. Yes, the code will work. However, as I mentioned
[above|https://issues.apache.org/jira/browse/YARN-4751?focusedCommentId=15215015&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15215015],
it is not ideal because when {{CSQueueUtils#updateQueueStatistics}} updates
used capacity, it overloads it into the {{NO_LABEL}} partition. It may be
better to re-calculate. I will look into that.
{quote}
I looked at YARN-3362 and dependencies, it seems to me that we only need minor
rebases to make YARN-3362 works:
- {{accessibleToPartition}} could be added to rebased patch, it only has
several lines.
{quote}
Thanks [~leftnoteasy]. Will look into trying to pull in only YARN-3362, with
modifications.
> In 2.7, Labeled queue usage not shown properly in capacity scheduler UI
> -----------------------------------------------------------------------
>
> Key: YARN-4751
> URL: https://issues.apache.org/jira/browse/YARN-4751
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacity scheduler, yarn
> Affects Versions: 2.7.3
> Reporter: Eric Payne
> Assignee: Eric Payne
> Attachments: 2.7 CS UI No BarGraph.jpg,
> YARH-4752-branch-2.7.001.patch, YARH-4752-branch-2.7.002.patch
>
>
> In 2.6 and 2.7, the capacity scheduler UI does not have the queue graphs
> separated by partition. When applications are running on a labeled queue, no
> color is shown in the bar graph, and several of the "Used" metrics are zero.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)