You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Kenji Kikushima (JIRA)" <ji...@apache.org> on 2014/04/10 03:22:15 UTC
[jira] [Updated] (YARN-996) REST API support for node resource
configuration
[ https://issues.apache.org/jira/browse/YARN-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenji Kikushima updated YARN-996:
---------------------------------
Attachment: YARN-996-sample.patch
Hi, I'm trying to implement REST API. Here is a sample patch.
- We can get Resource infomation from getting "/ws/v1/cluster/nodes/{nodeid}"
- We can update Resources. For example, putting "/ws/v1/cluster/nodes/{nodeid}/vcores/10" means updates to 10 vcores
- At present, Resource Manager REST API only
- This patch needs YARN-1911.patch in YARN-1911 to avoid NPE
Please comment if you have interest. Thanks.
> REST API support for node resource configuration
> ------------------------------------------------
>
> Key: YARN-996
> URL: https://issues.apache.org/jira/browse/YARN-996
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: nodemanager, scheduler
> Reporter: Junping Du
> Attachments: YARN-996-sample.patch
>
>
> Besides admin protocol and CLI, REST API should also be supported for node resource configuration
--
This message was sent by Atlassian JIRA
(v6.2#6252)