ā05-12-2022 01:24 PM
I am working with Azure Databricks jupyter notebooks and have time-consuming jobs (complex queries, model training, loops over many items, etc.).
Every time I close the browser (or step away for a long time) of some running notebook, even before the cluster time-out time, notebooks and cluster will become idle. When I open the notebook again, it appears as if it the notebook resumes, but it does not continue executing. I'd like to keep the notebook running in the background at night or when I close the browser. Any thoughts ?
ā05-25-2022 11:40 PM
I think you should try increasing the inactivity time and if the issue still persists. This should not happen actually @Eric Pā
ā05-13-2022 11:48 PM
@Eric Pā , To keep the cluster active at all times,
Also, checkout this doc- https://docs.databricks.com/clusters/clusters-manage.html?&_ga=2.26996221.1323833801.1652117370-1078...
ā05-16-2022 01:01 PM
Hi @Kaniz Fatmaā @Aashita Ramtekeā
2. I look for a more sustainable solution. Your solution requires running secondary script that continuously pings the server and never stops, which translate to cost. I look for something that does not kill the job half-way and keep it alive until completion. It's a simple capability that every platform support.
Does it mean we can never run a time-consuming job or train a model without sitting there looking at the screen overnight ?
Thank you.
Kenny.
ā05-25-2022 11:40 PM
I think you should try increasing the inactivity time and if the issue still persists. This should not happen actually @Eric Pā
ā05-26-2022 07:55 AM
@Eric Pā If you want the notebook to be running, why not create and schedule a job for the notebook?
https://docs.microsoft.com/en-us/azure/databricks/data-engineering/jobs/jobs#--create-a-job
ā07-07-2022 09:37 AM
Hey @Eric Pā
Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best? If not, please tell us so we can help you.
Thanks!
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