You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Alessandro Liparoti <al...@gmail.com> on 2019/04/16 11:44:24 UTC

Fwd: Uncaught Exception Handler in master

Hi everyone,

I have a spark libary where I would like to do some action before an
uncaught exception happens (log it, increment an error metric, ...). I
tried multiple times to use
setUncaughtExceptionHandler in the current Thread but this doesn't work. If
I spawn another thread this works fine. Any idea of what I can do?

*Alessandro Liparoti*