Adding multiple child queues under a parent queue

Add child queues to your YARN queue hierarchy in Cloudera Manager by adjusting the configured capacity of existing sibling queues to equal 100%.

  • Make sure the parent queue already exists.
  • Decide how much of the parent's capacity each child queue gets.
  1. In Cloudera Manager, go to Clusters > YARN Queue Manager UI.
  2. Click the three vertical dots on the parent queue and select Add Child Queue.
  3. Enter the name of the first child queue, for example sub-queue1, and set the Configured Capacity to 100%.
  4. Click Save.
  5. Click the three vertical dots on the same parent queue again and select Add Child Queue.
  6. Enter the name of the second child queue, for example sub-queue2, and set its Configured Capacity, for example 50%.
  7. Lower the Configured Capacity of sub-queue1 so that the capacities of all sibling queues add up to 100%. In this example, set sub-queue1 to 50%.
  8. Click Save.
  9. To add more child queues, repeat steps 5 to 8. Each time, adjust the capacities of the existing sibling queues so that their total stays at 100%.

The new child queues appear under the parent queue in the Queue Manager UI, each with its configured capacity.

This example adds three child queues under a Level 2 parent queue:
Table 1. Child queue capacities
Step sub-queue1 sub-queue2 sub-queue3 Total
Add sub-queue1 100% – – 100%
Add sub-queue2 50% 50% – 100%
Add sub-queue3 50% 25% 25% 100%