Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1589

Dynamically adding a new Queue for Scheduler in YARN

    XMLWordPrintableJSON

    Details

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jchenjc Jian Chen
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: