Ryan Blue created TOREE-387:
-------------------------------
Summary: Kernel should not store SparkSession
Key: TOREE-387
URL: https://issues.apache.org/jira/browse/TOREE-387
Project: TOREE
Issue Type: Improvement
Reporter: Ryan Blue
Currently, the kernel creates and stores the SparkSession in a field to share
between interpreters. If the user closes a SparkSession and creates a new one,
then the Kernel still returns the original. Users may need to restart Spark
sessions for long-running notebooks or to deal with Spark errors without losing
datasets that have been pulled back to the notebook.
I think that Toree should always return the current Spark session by calling
{{SparkSession.builder.getOrCreate}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)