Forum Discussion
IntegrateGuru
1 year agoAdvocate I
Notebook shows 'In Progress' in Monitor App even after it has returned with an error?
I've noticed that if I run a pyspark notebook with just the following code: myVal = 1/0 And execute the notebook, the notebook will return very quickly with ZeroDivisionErro...
Srisakthi
1 year agoSuper User
Hi IntegrateGuru ,
The default timeout fro spark session is 20 mins, but you can configure this in workspace setting. We have to manually stop the spark session otherwise it will be available till the default timeout.
you can add mssparkutils.session.stop() to stop the session at the end of all your notebook .
Regards,
Srisakthi