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

[Work in Progress] Connect Jupyter comm from kernel to frontend #13

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krishnan-r
Copy link
Contributor

@krishnan-r krishnan-r commented Apr 13, 2022

  • Removes the kernel extension in favor of a simple python module that is invoked before starting the SparkSession.

  • This avoids injecting a variable into the user namespace, and fixes race conditions with restarting the kernel

  • For SWAN this would mean that instead of installing a kernelextension, we add a step to the sparkconnector to configure the monitor and connect the kernel to the frontend (potentially here)

TODO

  • Handle reloading the browser
  • Potentially refactor the cell<->job matching so that messages can be buffered if frontend is unavailable

Related to #7

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.

1 participant