[ https://issues.apache.org/jira/browse/SPARK-27958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17075850#comment-17075850 ]
Vinoo Ganesh commented on SPARK-27958: -------------------------------------- Given the discussion on the PR, I filed https://issues.apache.org/jira/browse/SPARK-31354. I'll put up a new PR to address the addition of these non-behavior changing lifecycle methods. > Stopping a SparkSession should not always stop Spark Context > ------------------------------------------------------------ > > Key: SPARK-27958 > URL: https://issues.apache.org/jira/browse/SPARK-27958 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 3.0.0 > Reporter: Vinoo Ganesh > Priority: Major > > Creating a ticket to track the discussion here: > [http://mail-archives.apache.org/mod_mbox/spark-dev/201904.mbox/%3CCAO4re1=Nk1E1VwGzSZwQ5x0SY=_heupmed8n5yydccml_t5...@mail.gmail.com%3E] > Right now, stopping a SparkSession stops the underlying SparkContext. This > behavior is not ideal and doesn't really make sense. Stopping a SparkSession > should only stop the SparkContext in the event that the is the only session. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org