GitHub user zsxwing opened a pull request:

    https://github.com/apache/spark/pull/19768

    [SPARK-22535][PYSPARK] Sleep before killing the python worker in 
PythRunner.MonitorThread (branch-2.2)

    ## What changes were proposed in this pull request?
    
    Backport #19762 to 2.2
    
    ## How was this patch tested?
    
    Jenkins

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zsxwing/spark SPARK-22535-2.2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19768.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 #19768
    
----
commit 087d2273b58d07fbc30948001d69225e4a7c7aeb
Author: Shixiong Zhu <[email protected]>
Date:   2017-11-16T18:59:42Z

    [SPARK-22535][PYSPARK] Sleep before killing the python worker in 
PythonRunner.MonitorThread
    
    `PythonRunner.MonitorThread` should give the task a little time to finish 
before forcibly killing the python worker. This will reduce the chance of the 
race condition a lot. I also improved the log a bit\
     to find out the task to blame when it's stuck.
    
    Jenkins
    
    Author: Shixiong Zhu <[email protected]>
    
    Closes #19762 from zsxwing/SPARK-22535.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to