diff options
author | Davies Liu <davies.liu@gmail.com> | 2014-08-03 15:52:00 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@apache.org> | 2014-08-03 15:52:54 -0700 |
commit | a4cdb77e5ee2c80967a7b6cd7370170fabe56cd2 (patch) | |
tree | 91277ef5bfed5d8d3177679ebfe52186350f430b /pom.xml | |
parent | 7c6afdac867d52447221438ed7508123c07d17f8 (diff) | |
download | spark-a4cdb77e5ee2c80967a7b6cd7370170fabe56cd2.tar.gz spark-a4cdb77e5ee2c80967a7b6cd7370170fabe56cd2.tar.bz2 spark-a4cdb77e5ee2c80967a7b6cd7370170fabe56cd2.zip |
[SPARK-1740] [PySpark] kill the python worker
Kill only the python worker related to cancelled tasks.
The daemon will start a background thread to monitor all the opened sockets for all workers. If the socket is closed by JVM, this thread will kill the worker.
When an task is cancelled, the socket to worker will be closed, then the worker will be killed by deamon.
Author: Davies Liu <davies.liu@gmail.com>
Closes #1643 from davies/kill and squashes the following commits:
8ffe9f3 [Davies Liu] kill worker by deamon, because runtime.exec() is too heavy
46ca150 [Davies Liu] address comment
acd751c [Davies Liu] kill the worker when task is canceled
(cherry picked from commit 55349f9fe81ba5af5e4a5e4908ebf174e63c6cc9)
Signed-off-by: Josh Rosen <joshrosen@apache.org>
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions