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

Terminating cluster programmatically

MichaelO
New Contributor III

Is there any python script that allows me to terminate (not delete)  a cluster in the notebook, similar to this R equivalent of

terminate_cluster(cluster_id, workspace, token = NULL, verbose = T, ...)
1 REPLY 1

bdfrase
New Contributor II

Is there a way to do this without sending putting the plain text token in the code?  The API is rejecting tokens stored in secrets with a compatibility error.

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