Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Sep 22, 2016

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
Member Author

zsxwing commented Sep 22, 2016

/cc @rxin @marmbrus

@marmbrus
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Sep 22, 2016

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
Member Author

zsxwing commented Sep 22, 2016

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>
@asfgit asfgit closed this in 3cdae0f Sep 22, 2016
@zsxwing zsxwing deleted the stop-jvm-ssc branch September 22, 2016 21:52
Sign up for free to 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