Configure queue ordering policies
You can configure the property for queue ordering policies to
capacity-scheduler.xml. To specify ordering policies on a per-queue basis, set the following property to
fair. The default setting is
- In Cloudera Manager, select the YARN service.
- Click the Configuration tab.
- Search for scheduler.
In Capacity Scheduler Configuration Advanced Configuration Snippet
(Safety Valve) add the following:
Name: yarn.scheduler.capacity.<queue-path>.ordering-policy Value: fair
You can use the following property to enable size-based weighting of resource allocation. When this property is set to
true, queue resources are assigned to individual applications based on their size, rather than providing an equal share of queue resources to all applications regardless of size. The default setting is
Name: yarn.scheduler.capacity.<queue-path> Value: true