Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
It appears that the only way to add a queue to Capacity Scheduler is
- ssh into the YARN ResourceManager machine
- edit the capacity-scheduler.xml conf
- run the command "yarn rmadmin -refreshQueue"
It will be great if there's an API that we can call to dynamically add a new queue (removing the need to ssh into the machine).
For example, a POST operation to support adding a queue. The current REST APIs only support GETs
http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html
This API should also redistribute/rebalance the cluster resource allocation if possible.
(Or a separate set of REST operations to update resource allocation for a particular queue)
Thanks.