Manage cluster capacity with queues
You can manage your cluster capacity using queues to balance resource requirements of multiple applications from various users.
You can use the Capacity Scheduler to share cluster resources using FIFO (first-in, first-out) queues. YARN allows you to configure queues to own a fraction of the capacity of each cluster, and this specified queue capacity is fulfilled dynamically from the available nodes.
Users can submit applications to different queues at multiple levels in the queue hierarchy if the capacity is available on the nodes in the cluster. Because total cluster capacity can vary, capacity configuration values are expressed using percentages.
You can specify the capacity
property to allocate a
floating-point percentage values of cluster capacity to a queue. The following
properties divide the cluster resources between the Engineering, Support, and Marketing
organizations in a 6:1:3 ratio (60%, 10%, and 30%).
To specify the capacity property based on this example, add the following values for the root queue: