Enabling Intra-Queue preemption

Intra-queue preemption prevents resource imbalances in a queue.

Intra-queue preemption helps in effective distribution of resources within a queue based on configured user limits or application priorities.

To configure Intra-Queue Preemption (yarn.resourcemanager.monitor.capacity.preemption.intra-queue-preemption.enabled) on all queues, perform the following steps:

  1. In Cloudera Manager, select the YARN service.
  2. Click Configuration.
  3. Search for yarn-site.xml.
  4. Under YARN Service Advanced Configuration Snippet (Safety Valve) for yarn-site.xml, add the yarn.resourcemanager.monitor.capacity.preemption.intra-queue-preemption.enabled parameter and the value you need.
  5. Click Save Changes.
  6. Restart the YARN service.
    For information about configuring intra-queue preemption for a specific queue, see Configure Intra-Queue Preemption for a specific queue.