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.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now