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:ย 

I do not have any Spark jobs running, but my cluster is not getting auto-terminated.

brickster_2018
Databricks Employee
Databricks Employee

The cluster is Idle and there are no Spark jobs running on the Spark UI. Still I see my cluster is active and not getting terminated.

1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee

Databricks cluster is treated as active if there are any spark or non-Spark operations running on the cluster. Even though there are no Spark jobs running on the cluster, it's possible to have some driver-specific application code running marking the cluster as non-idle. Driver-specific application code may be something like connecting to a REST API Server, polling a database, etc.

One other use case, where the cluster will be marked non-idle is if the cluster has an active JDBC/ODBC connection that submits queries on a frequent interval.

View solution in original post

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

Databricks cluster is treated as active if there are any spark or non-Spark operations running on the cluster. Even though there are no Spark jobs running on the cluster, it's possible to have some driver-specific application code running marking the cluster as non-idle. Driver-specific application code may be something like connecting to a REST API Server, polling a database, etc.

One other use case, where the cluster will be marked non-idle is if the cluster has an active JDBC/ODBC connection that submits queries on a frequent interval.

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