Workflow timeout

Hubert-Dudek
Databricks MVP

Always set a timeout for your jobs! It not only safeguards against unforeseen hang-ups but also optimizes resource utilization. Equally essential is to consider having a threshold warning. This can alert you before a potential failure, allowing proactive measures. And don’t forget to enable notifications both for threshold warnings and failed jobs.

ezgif-2-283506cee0.gif


My blog: https://databrickster.medium.com/

jose_gonzalez
Databricks Employee
Databricks Employee

Thank you for sharing this @Hubert-Dudek 

sparkplug
Contributor

Hi
How do I set this as default for all users in my workspace. i.e. they shouldn't be able to run jobs for more than 24 hours

 

Panda
Valued Contributor

@sparkplug - You can achieve this in the cluster policy by setting the job timeout_seconds to 86400.

sparkplug
Contributor

We already have a policy and users are using clusters created with those to run their jobs. Since the policies are not based on job compute but on Power user compute, I am not able to set the job timeout_seconds.