Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TOREE-390: Lazily initialize spark sessions
This updates the kernel so that it lazily initializes Spark sessions. This allows the user to configure and start a session, or to wait until spark is first referenced to start a session. This shortens the time to the first interaction with Toree. It also adds a notification that Toree is waiting for a Spark session to start when the getOrCreate method takes more than 100ms. Closes #109.
- Loading branch information
Showing
10 changed files
with
100 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
kernel-api/src/main/scala/org/apache/toree/magic/dependencies/IncludeSparkContext.scala
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
kernel-api/src/main/scala/org/apache/toree/magic/dependencies/IncludeSparkSession.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.