-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Jupyter auto restart on reboot #108
Comments
Any preference whether this .service file would inline the startup script or indirect to another file? .service would be roughly: [Unit] [Service] [Install] |
Inline should be fine, it'd match the cloud-sql proxy: https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/blob/f22d7272d690bd48b9ea94bbf2f07ad464646236/cloud-sql-proxy/cloud-sql-proxy.sh#L115 Otherwise no strong preference either way. |
Hi, I fixed the problem by connecting to master machine using ssh and created a systemd service(followed @dennishuo 's stackoverflow comment).
Next step will be to include above code into dataproc-initialization-actions. |
Right now the init action only explicitly calls https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/blob/master/jupyter/internal/launch-jupyter-kernel.sh in the initialization action, so if the master is rebooted, the jupyter server doesn't start up automatically. It should instead configure a systemd service to auto startup.
The text was updated successfully, but these errors were encountered: