cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Knowledge Sharing Hub
Dive into a collaborative space where members like YOU can exchange knowledge, tips, and best practices. Join the conversation today and unlock a wealth of collective wisdom to enhance your experience and drive success.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Why configure a job timeout?

NandiniN
Honored Contributor
Honored Contributor

If you use Databricks Jobs for your workloads, it is possible you might have run into a situation where you find your jobs to be in "hung" state.

Before cancelling the job it is important to collect the thread dump as I described here to be able to find the root cause.

But how do we not run into a situation where our jobs are in the "hung" state for a prolonged time?

If you know the expected time of the job completion, with a buffer you should always set Job timeouts as described here

To configure a maximum completion time for a job, enter the maximum duration in the Timeout field. If the job does not complete in this time, Databricks sets its status to โ€œTimed Outโ€ and the job is stopped.

For Streaming Jobs check my post here.

0 REPLIES 0
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!