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

Varun Saxena commented on YARN-3075:
------------------------------------

[~leftnoteasy],  regarding your comment below. 
bq. In NodeLabel, I think we should have similar logic, if a node's label is as 
same as host, we should only store host in NodeLabel.
Right now, when we {{getLabelsToNodes}} we simply query {{labelCollections}}. 
If we change like above, we will have to query {{nodeCollections}} as well to 
find out what all nodes are associated with the host stored.
Are you fine with doing that ? 

> NodeLabelsManager implementation to retrieve label to node mapping
> ------------------------------------------------------------------
>
>                 Key: YARN-3075
>                 URL: https://issues.apache.org/jira/browse/YARN-3075
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.7.0
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>         Attachments: YARN-3075.001.patch
>
>




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

Reply via email to