[ 
https://issues.apache.org/jira/browse/YARN-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G updated YARN-3579:
--------------------------
    Attachment: 0001-YARN-3579.patch

Hi [~leftnoteasy]

Attaching an initial version of patch. 

* getNodeLabelsInfo, which is a new version apis can be used in REST interface 
and admin side. This supports object instead of string
* getNodeLabels will be still used in recover call flow where string is correct 
to use for.
* getLabelsInfoToNodes and getLabelsToNodes are 2 different versions. 
getLabelsToNodes is marked as Deprecated and can be removed once REST and admin 
side started using new api. 

Pls share your thoughts on same.

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