GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/3274
[SPARK-4415] [PySpark] JVM should exit after Python exit
When JVM is started in a Python process, it should exit once the stdin is
closed.
test: add spark.driver.memory in conf/spark-defaults.conf
```
davies@dm:~/work/spark$ cat conf/spark-defaults.conf
spark.driver.memory 8g
davies@dm:~/work/spark$ bin/pyspark
>>> quit
davies@dm:~/work/spark$ jps
4931 Jps
286
davies@dm:~/work/spark$ python wc.py
943738
0.719928026199
davies@dm:~/work/spark$ jps
286
4990 Jps
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark exit
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3274.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3274
----
commit 050651f4c55bdb8d61277bff6c7c382ef9623f1b
Author: Davies Liu <[email protected]>
Date: 2014-11-14T23:31:11Z
JVM should exit after Python exit
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]