Skip to content
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

jupyter hangs when more than one notebook is open #6

Open
soottikkal opened this issue Jun 13, 2018 · 3 comments
Open

jupyter hangs when more than one notebook is open #6

soottikkal opened this issue Jun 13, 2018 · 3 comments

Comments

@soottikkal
Copy link

Jupyter hangs if more than one ipynb files are open.

@nickjer
Copy link
Contributor

nickjer commented Jun 14, 2018

Is this with Spark? If so it is because of the FIFO (first in, first out) nature of the standalone Spark cluster. The first notebook will get all of the Spark cluster resources, and the second notebook will be blocked until the first notebook releases those resources (i.e., you stop the first notebook).

What is the use case for the issue you are experiencing? Maybe a solution would be we allow the user to choose to start either a PySpark notebook or a regular Python notebook (this notebook won't block since it doesn't request resources from the Spark cluster).

@soottikkal
Copy link
Author

Yes, this was with Jupyter+Spark app. During the OSC workshop, some students clicked on both read-only tutorial file and its copy. This resulted in having two Jupyter sessions. I had to shut-down the read-only session to proceed with the tutorials.

@nickjer
Copy link
Contributor

nickjer commented Jun 16, 2018

Ah, unfortunately I am unaware of a solution for that. Some sort of warning saying that all the Spark cluster resources are consumed by another notebook would be nice, but I am not sure how to do that off the top of my head.

For now I will keep this issue open so that @ericfranz or one of the students can prioritize and attempt this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants