diff options
author | Mark Hamstra <markhamstra@gmail.com> | 2014-05-14 10:07:25 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-05-14 10:07:39 -0700 |
commit | 9ff9078fc840c05c75f635b7a6acc5080b8e1185 (patch) | |
tree | 0b998797d3e09df23af5102fe9d0ffd298264827 /assembly | |
parent | 34f6fa92155ba70d7b17315664618a007f9325ab (diff) | |
download | spark-9ff9078fc840c05c75f635b7a6acc5080b8e1185.tar.gz spark-9ff9078fc840c05c75f635b7a6acc5080b8e1185.tar.bz2 spark-9ff9078fc840c05c75f635b7a6acc5080b8e1185.zip |
[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).
Author: Mark Hamstra <markhamstra@gmail.com>
Closes #622 from markhamstra/SPARK-1620 and squashes the following commits:
071d193 [Mark Hamstra] refactored post-SPARK-1772
1a6a35e [Mark Hamstra] another style fix
d30eb94 [Mark Hamstra] scalastyle
3573ecd [Mark Hamstra] Use wrapped try/catch in Utils.tryOrExit
8fc0439 [Mark Hamstra] Make functions run by the Akka scheduler use Executor's UncaughtExceptionHandler
(cherry picked from commit 17f3075bc4aa8cbed165f7b367f70e84b1bc8db9)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'assembly')
0 files changed, 0 insertions, 0 deletions