[
https://issues.apache.org/jira/browse/YARN-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Payne updated YARN-3362:
-----------------------------
Attachment: YARN-3362-branch-2.7.002.patch
[~leftnoteasy] and [~sunilg], as we discussed in YARN-4751, I am attaching the
2.7 backport of YARN-3362 to this JIRA. Please see YARN-4751 to for a
discussion of the additional changes needed for 2.7 that will provide accurate
metrics on labeled queues.
2.7-specific differences in {{YARN-3362-branch-2.7.002.patch}}:
- The {{RMNodeLabel}} class is named {{NodeLabel}} in 2.7.
- The {{CapacitySchedulerInfo}} constructor doesn't have the
{{CapacityScheduler}} parameter in 2.7, so I left it out.
- One of the changes for {{CapacitySchedulerInfo#getQueues}} in YARN-3362 added
a check to skip non-accessible queues. In 2.7, there are 2 loops that iterate
over the queues whereas in 2.8 and beyond, there is only 1. I put the check in
the first loop because the first loop is filtering the queues to be processed
by the second loop
> Add node label usage in RM CapacityScheduler web UI
> ---------------------------------------------------
>
> Key: YARN-3362
> URL: https://issues.apache.org/jira/browse/YARN-3362
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacityscheduler, resourcemanager, webapp
> Reporter: Wangda Tan
> Assignee: Naganarasimha G R
> Fix For: 2.8.0
>
> Attachments: 2015.05.06 Folded Queues.png, 2015.05.06 Queue
> Expanded.png, 2015.05.07_3362_Queue_Hierarchy.png,
> 2015.05.10_3362_Queue_Hierarchy.png, 2015.05.12_3362_Queue_Hierarchy.png,
> CSWithLabelsView.png, No-space-between-Active_user_info-and-next-queues.png,
> Screen Shot 2015-04-29 at 11.42.17 AM.png, YARN-3362-branch-2.7.002.patch,
> YARN-3362.20150428-3-modified.patch, YARN-3362.20150428-3.patch,
> YARN-3362.20150506-1.patch, YARN-3362.20150507-1.patch,
> YARN-3362.20150510-1.patch, YARN-3362.20150511-1.patch,
> YARN-3362.20150512-1.patch, capacity-scheduler.xml
>
>
> We don't have node label usage in RM CapacityScheduler web UI now, without
> this, user will be hard to understand what happened to nodes have labels
> assign to it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)