Want to set execution termination time/timeout limit for job in job config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 04:56 AM
Hi ,
I Want to set execution termination time/timeout limit for job in job config file. please help me how I can do this by pass some parameter in job config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 10:21 AM
Hi @Pratibha
You can configure optional duration thresholds for a job, including an expected completion time for the job and a maximum completion time for the job. To configure duration thresholds, click Set duration thresholds.
If you are creating jobs using JOBS JSON API then you need to set the below in JSON for timeout.
Hope this helps.
Thanks,
RK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 03:20 AM
yep got it but there is some additional requirement in my project I want if job take longer time then it will terminate and again it will try even if there is timeout error and in databricks launched status should show retry by scheduler and it should follow min_retry_interval_millis before start retry run.. how I can do this. I have set all parameter in config but once job gone in timeout it immidiatly start running and luanched status is not changing means it is not indicating my job is retried. please help

