Close and Halt does not stop instance... is it supposed to?
RespondedSee title.
-
Official comment
Same runtime instance could be in use by some other notebook.
So just closing your notebook will not stop the instance automatically. As each runtime instance will have total time and idle time configured, they will be stopped once any of these times are hit.Comment actions -
Close and Halt is for stopping the current executing cell and stopping the kernel.
Kernel and runtime instance are two different things.
Kernel is the main execution engine of the notebook. Any code that is written in a cell first goes to the kernel.
Now kernel will decide if I can execute this code or do I need to forward this code further down.
So if runtime is not attached, kernel is the only executor for your code.
If runtime is attached and you include spark code in the cell (with %%spark magic), then kernel will redirect the code spark runtime and just start acting as a proxy in between.
Please sign in to leave a comment.
Comments
5 comments