[
https://issues.apache.org/jira/browse/YARN-4484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sunil G updated YARN-4484:
--------------------------
Attachment: 0002-YARN-4484.patch
Thank you [~leftnoteasy] for the comments. Uploading new patch addressing the
same.
[~bibinchundatt], could you pls help to explain the case. is this the case when
label-queue mapping is not available but labels are added in cluster (and few
nodes are configured with this label.
In this case, we will have <DEFAULT_PARTITION> nodes will show correct metrics.
Other nodes will be there but queue metrics wont show the same. WE have couple
of JIRAs (YARN-4634) which handles some more vailidation for queue-label
mapping cases. With those, we can get the above mentioned behavior. pls help to
correct if i am wrong.
> Available Resource calculation for a queue is not correct when used with
> labels
> -------------------------------------------------------------------------------
>
> Key: YARN-4484
> URL: https://issues.apache.org/jira/browse/YARN-4484
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacity scheduler
> Affects Versions: 2.7.1
> Reporter: Sunil G
> Assignee: Sunil G
> Attachments: 0001-YARN-4484.patch, 0002-YARN-4484.patch
>
>
> To calculate available resource for a queue, we have to get the total
> resource allocated for all labels in queue compare to its usage.
> Also address the comments given in
> [YARN-4304-comments|https://issues.apache.org/jira/browse/YARN-4304?focusedCommentId=15064874&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15064874
> ] given by [~leftnoteasy] for same.
> ClusterMetrics related issues will also get handled once we fix this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)