[ 
https://issues.apache.org/jira/browse/YARN-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529419#comment-14529419
 ] 

Wangda Tan commented on YARN-3579:
----------------------------------

[~sunilg], thanks for open this JIRA, but I'm thinking about scope:
- It's better to leave getLabelsToNodes REST changes in YARN-3521
- This JIRA should at least contains getLabelsToNodes/getNodeLabels changes in 
NodeLabelsManager.
- Another part is update YarnClient to use object instead of string, which can 
either comes together with this patch or in separated patch, feel free to 
create one :).

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
>
> 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)

Reply via email to