GitHub user markhamstra opened a pull request:
https://github.com/apache/spark/pull/622
[SPARK-1620] Handle uncaught exceptions in function run by Akka scheduler
If the intended behavior was that uncaught exceptions thrown in functions
being run by the Akka scheduler would end up being handled by the default
uncaught exception handler set in Executor, and if that behavior is, in fact,
correct, then this is a way to accomplish that. I'm not certain, though, that
we shouldn't be doing something different to handle uncaught exceptions from
some of these scheduled functions.
In any event, this PR covers all of the cases I comment on in
[SPARK-1620](https://issues.apache.org/jira/browse/SPARK-1620).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markhamstra/spark SPARK-1620
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/622.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #622
----
commit 3814cc16218458e40fbe6800fb118abb548515ce
Author: Mark Hamstra <[email protected]>
Date: 2014-05-02T20:24:48Z
Make functions run by the Akka scheduler use Executor's
UncaughtExceptionHandler
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---