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

Wangda Tan commented on YARN-2505:
----------------------------------

Offline discussed with [~cwelch], some suggestions:
- We should have replaceLabelsOnNode as we have it in RMAdminCLI
- We should have removeFromClusterNodeLabels as we have addToClusterNodeLabels
- Suggest to make replaceLabelsOnNode URL as : .../node-to-labels/replace and 
using POST, in the future we can have ../node-to-labels/remove(add)
- Suggest to make remove/add To/From ClusterNodeLabels as : 
.../node-labels/add(remove) and using POST, to make it consistent with 
replace/add/removeLabelsOnNode APIs.

Thanks,
Wangda



> Support get/add/remove/change labels in RM REST API
> ---------------------------------------------------
>
>                 Key: YARN-2505
>                 URL: https://issues.apache.org/jira/browse/YARN-2505
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Craig Welch
>         Attachments: YARN-2505.1.patch, YARN-2505.11.patch, 
> YARN-2505.12.patch, YARN-2505.3.patch, YARN-2505.4.patch, YARN-2505.5.patch, 
> YARN-2505.6.patch, YARN-2505.7.patch, YARN-2505.8.patch, YARN-2505.9.patch, 
> YARN-2505.9.patch, YARN-2505.patch
>
>




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

Reply via email to