GitHub user zsxwing opened a pull request:

    [SPARK-17638][Streaming]Stop JVM StreamingContext when the Python process 
is dead

    ## What changes were proposed in this pull request?
    When the Python process is dead, the JVM StreamingContext is still running. 
Hence we will see a lot of Py4jException before the JVM process exits. It's 
better to stop the JVM StreamingContext to avoid those annoying logs.
    ## How was this patch tested?

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

    $ git pull stop-jvm-ssc

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15201
commit cd326b41470b98f7906d378e7387d2dbaca5c7f1
Author: Shixiong Zhu <>
Date:   2016-09-22T19:32:58Z

    Stop JVM StreamingContext when the Python process is dead


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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to