ToolsQueue Capacity Designer

Queue Capacity Designer

Design YARN queue hierarchies with real-time resource distribution and capacity-scheduler config export

parent
L2
L2
Root Queue Distribution100%
default
production
development
default (40%)
production (40%) [2 sub-queues]
development (20%)

How YARN Queue Capacity Design Works

The YARN Capacity Scheduler organizes cluster resources into a hierarchical queue tree. Each queue under root receives a guaranteed percentage of the cluster, and can elastically burst up to its maximum capacity when sibling queues are idle.

Queues can have sub-queues to create multi-level hierarchies. A parent queue distributes its allocated resources among its children. For example, a "production" queue with 40% cluster capacity containing "batch" (60%) and "realtime" (40%) sub-queues gives batch 24% and realtime 16% of the total cluster.

Sanity checks validate that sibling capacities sum to 100% at every level, that maximum capacity is never less than guaranteed capacity, and that user-limit-factor values are positive. The generated configuration maps directly to capacity-scheduler.xml properties.