[
https://issues.apache.org/jira/browse/YARN-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218491#comment-15218491
]
Sunil G commented on YARN-4751:
-------------------------------
Hi [~eepayne]
Thanks for a very detailed view of the dependency of YARN-3362.
Few of the dependent jiras also come up with some feature enhancement. so the
question will be like whether 2.7 line needs the same. According to me, I think
bug fixes need to be there in 2.7. Other enhancements may nt be needed. Being
said that, may be its better to fix this directly here.
Buf if we are going in this line, then porting any of these tickets in future
release lines of 2.7 will be tough. Bcz this will be an independent patch and
we may need to revert. I still we feel we can fix direct here. Will wait for
[~leftnoteasy] opinion also.
One more comment in current patch:
{code}
public final float getAllUsedCapacityConsideringLabels() {
154 float usedCapacity = 0.0f;
155 for (String nl : getAccessibleLabelSet()) {
156 usedCapacity += queueCapacities.getUsedCapacity(nl);
157 }
{code}
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.
> 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)