hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3003) Provide API for client to retrieve label to node mapping
Date Wed, 07 Jan 2015 01:07:36 GMT

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

Naganarasimha G R commented on YARN-3003:
-----------------------------------------

Hi [~leftnoteasy],
    Yes, my idea was to transpose as a given node can belong to multiple labels getting node->label
then transposing would be better as there is already existing node to label mapping Data structure.

Further would it be better to support label expression and get the list of nodes mapping to
it rather than set of labels as input ? May be [~yuzhihong@gmail.com] can describe more about
the scenario or usage of this interface ?

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

Mime
View raw message