Configuring 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 specific 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.
Specify the capacity property to allocate a floating-point percentage values of cluster capacity to a queue. The following configurations 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 the above example, perform the following:
- In Cloudera Manager, select Clusters > YARN Queue Manager UI service. A list of existing queues is displayed.
- Click on the three vertical dots on the root and select Edit Child Queues option.
- Enter the Configured Capacity of "engineering" to 60, "support" to 10, and "marketing" to 30.
- Click Save.