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
Databricks Employee
Databricks Employee

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

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