-
Notifications
You must be signed in to change notification settings - Fork 1
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
add user guide for accessing spark Jupyter lab #33
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #33 +/- ##
=======================================
Coverage 48.57% 48.57%
=======================================
Files 4 4
Lines 105 105
=======================================
Hits 51 51
Misses 54 54 ☔ View full report in Codecov by Sentry. |
Please be aware that your session will automatically close after `1 hour`. Should you require an extension, simply invoke | ||
`get_spark_session()` to initiate a new session. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this means the prior session is still sitting around wasting resources, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no. after 1 hr, the prior session will be closed by the timer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But for that hour it is, that's what I'm talking about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea. for the hour the session is open, it's taking resources.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose we could keep track of open sessions and close them when a new session is requested but that's probably overkill for now
This error occurs when there is an issue with the SparkMonitor kernel extension, specifically related to the | ||
communication between the kernel and the front end. The error indicates that the comm attribute is missing from the | ||
ScalaMonitor object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What causes this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the extension developer:
This is a difficult error to debug; the kernel extension is complaining that the Scala Listener has no comms; this is usually because the listener wasn't able to find a Spark Instance.
itsjafer/jupyterlab-sparkmonitor#16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that ticket says the bug is fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea. It didn't happen very often. And restart kernel always works.
No description provided.