Skip to content

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

Closed
zsxwing wants to merge 1 commit into
apache:masterfrom
zsxwing:stop-jvm-ssc
Closed

[SPARK-17638][Streaming]Stop JVM StreamingContext when the Python process is dead#15201
zsxwing wants to merge 1 commit into
apache:masterfrom
zsxwing:stop-jvm-ssc

Conversation

@zsxwing

Copy link
Copy Markdown
Member

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?

Jenkins

@zsxwing

Copy link
Copy Markdown
MemberAuthor

/cc @rxin@marmbrus

@marmbrus

Copy link
Copy Markdown
Contributor

LGTM

@SparkQA

Copy link
Copy Markdown

Test build #65786 has finished for PR 15201 at commit cd326b4.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zsxwing

Copy link
Copy Markdown
MemberAuthor

Merging to master / 2.0

asfgit pushed a commit that referenced this pull request Sep 22, 2016
…ocess 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?
Jenkins
Author: Shixiong Zhu <shixiong@databricks.com>
Closes#15201 from zsxwing/stop-jvm-ssc.
(cherry picked from commit 3cdae0f)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@zsxwing
zsxwing deleted the stop-jvm-ssc branch September 22, 2016 21:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@zsxwing@marmbrus@SparkQA