hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Welch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2505) Support get/add/remove/change labels in RM REST API
Date Sat, 08 Nov 2014 00:23:35 GMT

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

Craig Welch commented on YARN-2505:

Even more updated api:

GET .../cluster/get-node-labels - returns node labels configured for the cluster
POST .../cluster/add-node-labels - adds the passed list of node labels to the cluster
POST .../cluster/remove-node-labels - removes the passed list of node labels from the cluster

GET .../cluster/nodes/nodeid/get-labels - returns the list of labels for the given nodeid
POST .../cluster/nodes/nodeid/replace-labels - replaces the nodes labels for the given node
(may be an empty list)

GET .../cluster/get-node-to-labels - returns Map of NodeIds->Lists of labels for all nodes
in the cluster
POST .../cluster/replace-node-to-labels - 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.16.patch, YARN-2505.16.patch, YARN-2505.16.patch,
YARN-2505.18.patch, YARN-2505.19.patch, YARN-2505.20.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

View raw message