Enabling preemption for a specific queue
Capacity Scheduler Preemption allows higher-priority applications to preempt lower-priority applications.
You can disable the queue preemption (yarn.resourcemanager.scheduler.monitor.enable) for a specific queue.
- In the Enable Monitoring Policies and set
Monitoring Policies to
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy
and save to enable/disable preemption for specific queues.
, check
With Enable Monitoring Policies disabled the queue-level preemption option is greyed out and indicates the inherited configuration (enabled by default).
- In Cloudera Manager, select Clusters > YARN Queue Manager UI service. A graphical queue hierarchy is displayed in the Overview tab.
- Click on the three vertical dots on the queue and select View/Edit Queue Properties option.
- In the Queue Properties dialog-box, uncheck the Enable Preemption checkbox.
- Click Save.