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
Databricks Employee
Databricks Employee
 
1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee

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
Databricks Employee
Databricks Employee

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. 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group