Apache Ambari Views
Also available as:
PDF
loading table of contents...

Setting up Queues

To set up Capacity Scheduler queues on a view instance.

Steps

  1. On the YARN Queue Manager view instance configuration page, click Add Queue.

    The queue will be added under the top level, or "root" queue. A "default" queue already exists under the root queue.

    To return to a previously created YARN Queue Manager view instance:

    1. Click Views on the Manage Ambari page.

    2. Click CAPACITY-SCHEDULER.

    3. Click the applicable YARN Queue Manager view instance, then click Go to instance at the top of the page.

  2. Type in a name for the new queue, then click the green check mark to create the queue. In the following example, we're creating the "Engineering" queue.

  3. The "Engineering" queue is added, and its configuration page appears.

  4. The sum of queue capacities at any level in the YARN Queue Manager configuration must total 100%. Here the default queue is already set to 100%. Therefore, if we try to set the "Engineering" queue capacity to 60%, error messages appear warning that the total at this level is 160%.

  5. If we click the "default" queue and set its capacity to 0%, the Level Total bar at the top of the page lists the total queue capacity at this level as 60%.

  6. To add more queues at the root level, click the root queue, then click Add Queue. In the following example, we have added a "Support" queue set to 10% of the level capacity, and a "Marketing" queue set to 30%. The root-level queue capacities now total 100%.

  7. To save your configuration, click Actions > Save Only.

  8. On the Notes pop-up, enter an optional description of your changes, then click Save.

    Each version is retained and listed in the Versions box.

  9. To build a queue hierarchy, click a top level queue, then click Add Queue.

    In the following example, the "qa" and "development" queues have been added under the "Engineering" queue.