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

Truncate and limit variables and onInterrupt stream cleanup for jupyter notebooks (1.1.0) #158

Merged
merged 2 commits into from
May 23, 2022

Conversation

Jolanrensen
Copy link
Collaborator

No description provided.

@Jolanrensen Jolanrensen changed the title Truncate and limit variables for jupyter notebooks (1.1.0? or later) Truncate and limit variables and onInterrupt stream cleanup for jupyter notebooks (1.1.0) May 20, 2022
@Jolanrensen
Copy link
Collaborator Author

@asm0dey So in the latest version of the notebook API, support was added for onInterrupt. Combined with catching the right exception we can now catch interrupts and make sure the spark context is stopped. It is maybe not perfect but a whole lot better than before. Now users no longer have to restart the jupyter kernel if they want to run something streaming-like again after they interrupted the kernel to stop a stream.

@Jolanrensen Jolanrensen requested a review from asm0dey May 20, 2022 14:57
@asm0dey asm0dey merged commit ab84990 into spark-3.2 May 23, 2022
@Jolanrensen Jolanrensen deleted the jupyter-display branch May 23, 2022 09:56
@Jolanrensen Jolanrensen added this to the 1.1.0 milestone May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants