[
https://issues.apache.org/jira/browse/YARN-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199594#comment-14199594
]
Craig Welch commented on YARN-2505:
-----------------------------------
Updated api:
GET .../cluster/node-labels - returns node labels configured for the cluster
POST .../cluster/node-labels/add - adds the passed list of node labels to the
cluster
POST .../cluster/node-labels/remove - removes the passed list of node labels
from the cluster
GET .../cluster/nodes/nodeid/labels - returns the list of labels for the given
nodeid
POST .../cluster/nodes/nodeid/labels/add - adds the list of labels passed to
the given nodeid
POST .../cluster/nodes/nodeid/labels/remove - removes the list of labels passed
from the given nodeid
GET .../cluster/node-to-labels - returns Map of NodeIds->Lists of labels for
all nodes in the cluster
POST .../cluster/node-to-labels/replace - for those nodes present in the passed
NodeIds->Lists of labels the labels for the node are replaced by the passed
list value for it's NodeId
> 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.13.patch, YARN-2505.14.patch,
> YARN-2505.15.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)