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

Varun Saxena commented on YARN-3003:
------------------------------------

Thanks [~leftnoteasy] for your input. Yes, its about getting labels to nodes.  
Separating it out into 2 APIs' is more cleaner and less confusing to the user. 
Basically wanted your input on whether we need this new API or not. 
I had a similar idea in mind regarding how to fix this issue. Will look at 
YARN-2943 as well as [~Naganarasimha] suggested.
Thanks.

> Provide API for client to retrieve label to node mapping
> --------------------------------------------------------
>
>                 Key: YARN-3003
>                 URL: https://issues.apache.org/jira/browse/YARN-3003
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: client, resourcemanager
>            Reporter: Ted Yu
>            Assignee: Varun Saxena
>
> Currently YarnClient#getNodeToLabels() returns the mapping from NodeId to set 
> of labels associated with the node.
> Client (such as Slider) may be interested in label to node mapping - given 
> label, return the nodes with this label.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to