[ https://issues.apache.org/jira/browse/SPARK-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113816#comment-14113816 ]
Matthew Farrellee commented on SPARK-2435: ------------------------------------------ i couldn't find a PR for this, and it has been a problem for me, so i've created https://github.com/apache/spark/pull/2183 > Add shutdown hook to bin/pyspark > -------------------------------- > > Key: SPARK-2435 > URL: https://issues.apache.org/jira/browse/SPARK-2435 > Project: Spark > Issue Type: Bug > Components: PySpark > Affects Versions: 1.0.1 > Reporter: Andrew Or > Assignee: Josh Rosen > Fix For: 1.1.0 > > > We currently never stop the SparkContext cleanly in bin/pyspark unless the > user explicitly runs sc.stop(). This behavior is not consistent with > bin/spark-shell, in which case Ctrl+D stops the SparkContext before quitting > the shell. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org