[
https://issues.apache.org/jira/browse/YARN-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sunil G updated YARN-3579:
--------------------------
Attachment: 0003-YARN-3579.patch
Thank you [~leftnoteasy] for sharing the comments. Updated a patch as per the
same..
{code}
protected Set<String> getLabelsByNode(NodeId nodeId)
{code}
This method is used in test classes, I feel we can keep as protected itself.
Pls share your thoughts.
> getLabelsToNodes in CommonNodeLabelsManager should support NodeLabel instead
> of label name as String
> ----------------------------------------------------------------------------------------------------
>
> Key: YARN-3579
> URL: https://issues.apache.org/jira/browse/YARN-3579
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: 2.6.0
> Reporter: Sunil G
> Assignee: Sunil G
> Priority: Minor
> Attachments: 0001-YARN-3579.patch, 0002-YARN-3579.patch,
> 0003-YARN-3579.patch
>
>
> CommonNodeLabelsManager#getLabelsToNodes returns label name as string. It is
> not passing information such as Exclusivity etc back to REST interface apis.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)