You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by zsxwing <gi...@git.apache.org> on 2016/10/05 20:26:16 UTC
[GitHub] spark pull request #15352: [SPARK-17780][SQL]Report Throwable to user in Str...
Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/15352#discussion_r82062508
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala ---
@@ -207,7 +207,7 @@ class StreamExecution(
})
} catch {
case _: InterruptedException if state == TERMINATED => // interrupted by stop()
- case NonFatal(e) =>
+ case e if NonFatal(e) || e.isInstanceOf[NoClassDefFoundError] =>
--- End diff --
Updated. Now it catches Throwable and rethrows it at the end if it's fatal.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org