Stream: general
Topic: Jupyter Hub / Lab
Michael Levy (Dec 26 2019 at 16:27):
Is anyone around today? I've got a few related questions about Jupyter / JupyterHub. I'm working remotely while one of our cars is getting tuned up, and I'd like to run a notebook in such a way that if I get a call about the car being done before the notebook finishes, I can close my web browser without interrupting the computation.
I don't believe that Jupyter Hub supports that, and that closing the browser interrupts whatever the Hub was doing. Is that correct? Is there an option somewhere to enable that behavior I want?
My other thought was to go the old-fashioned route and set up an ssh tunnel... but that doesn't seem to be working on Casper. Did CISL somehow cripple this approach? It seems like Jupyter Lab is running fine because I see
[I 09:18:18.232 LabApp] Serving notebooks from local directory: /glade/work/mlevy [I 09:18:18.232 LabApp] The Jupyter Notebook is running at: [I 09:18:18.232 LabApp] http://casper05:8889/?token=[token]
but
ssh -N -L localhost:8888:casper05:8889 mlevy@casper05.ucar.edu
doesn't work.
Michael Levy (Dec 26 2019 at 16:29):
"Doesn't work" in the sense that I get prompted to log in, and I accept the Duo request, but http://localhost:8888/lab
reports "Unable to Connect"
Michael Levy (Dec 26 2019 at 16:30):
https
is refused as well
Michael Levy (Dec 26 2019 at 16:34):
Update: maybe the Hub computations do persist when I close a tab? I'm testing it now, and it looks like the dask cluster is growing on its own after closing the browser tab...
Last updated: Jan 30 2022 at 12:01 UTC