Enabling and Disabling Fair Scheduler Preemption
You can enable the Fair Scheduler to preempt applications in other pools if a pool's fair or minimum share is not met for some period of time. When you create a pool, you can specify whether preemption is allowed and whether a specific pool can be preempted. Fair scheduler preemption is controlled by several properties. For more information, see Configuring the Fair Scheduler.
Enabling and Disabling Preemption Using Cloudera Manager
Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator)
Enabling Preemption
- Select . If the cluster has a YARN service, the tab displays.
- Click Default Settings.
- Click the Enable Fair Scheduler Preemption link.
- Select the ResourceManager Default Group checkbox.
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Return to the Home page by clicking the Cloudera Manager logo.
- Click the icon that is next to any stale services to invoke the cluster restart wizard.
- Click Restart Stale Services.
- Click Restart Now.
- Click Finish.
Disabling Preemption
- Select . If the cluster has a YARN service, the tab displays.
- In Cloudera Manager select the YARN service.
- Clear the Enable Fair Scheduler Preemption checkbox.
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Return to the Home page by clicking the Cloudera Manager logo.
- Click the icon that is next to any stale services to invoke the cluster restart wizard.
- Click Restart Stale Services.
- Click Restart Now.
- Click Finish.