cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it safe to turn off pre-emption on an on-demand cluster?

brickster_2018
Esteemed Contributor
Esteemed Contributor
 
1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Esteemed Contributor
Esteemed Contributor

Pre-emption is by default turned on Databricks cluster. Turning on or turning off pre-emption would make more sense on a high concurrency cluster. Pre-emption ensures that the job starting for resources gets a fair share of the resource available on the cluster. To make the resources available, pre-emption would kill the running tasks. 

To answer the question, as there are no concurrent jobs on an on-demand cluster, it would not make much difference if the pre-emption is enabled or disabled. In case if there are concurrent jobs submitted using internal application logic, then there will be an impact. 

View solution in original post

1 REPLY 1

brickster_2018
Esteemed Contributor
Esteemed Contributor

Pre-emption is by default turned on Databricks cluster. Turning on or turning off pre-emption would make more sense on a high concurrency cluster. Pre-emption ensures that the job starting for resources gets a fair share of the resource available on the cluster. To make the resources available, pre-emption would kill the running tasks. 

To answer the question, as there are no concurrent jobs on an on-demand cluster, it would not make much difference if the pre-emption is enabled or disabled. In case if there are concurrent jobs submitted using internal application logic, then there will be an impact. 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!