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

Siddharth Seth commented on YARN-2698:
--------------------------------------

FWIW, this can break downstream components which may have unit tests making use 
of NodeReport. The API is annotated private, however it would be useful to have 
some kind of stable mocks for entities which are likely to be used for testing 
downstream projects.

> Move getClusterNodeLabels and getNodeToLabels to YarnClient instead of 
> AdminService
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-2698
>                 URL: https://issues.apache.org/jira/browse/YARN-2698
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, client, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: YARN-2698-20141028-1.patch, YARN-2698-20141028-2.patch, 
> YARN-2698-20141028-3.patch, YARN-2698-20141029-1.patch, 
> YARN-2698-20141029-2.patch, YARN-2698-20141030-1.patch
>
>
> YARN AdminService should have write API only, for other read APIs, they 
> should be located at RM ClientService. Include,
> 1) getClusterNodeLabels
> 2) getNodeToLabels
> 3) getNodeReport should contains labels



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

Reply via email to