-
- Downloads
[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? Jenkins Author: Shixiong Zhu <shixiong@databricks.com> Closes #15201 from zsxwing/stop-jvm-ssc.
Showing
- streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala 31 additions, 2 deletions...org/apache/spark/streaming/api/python/PythonDStream.scala
- streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobGenerator.scala 2 additions, 0 deletions...a/org/apache/spark/streaming/scheduler/JobGenerator.scala
- streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala 2 additions, 0 deletions...a/org/apache/spark/streaming/scheduler/JobScheduler.scala
Please register or sign in to comment