Fwd: Uncaught Exception Handler in master

2019-04-16 Thread Alessandro Liparoti
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. A

Uncaught Exception Handler in master

2019-03-28 Thread Alessandro Liparoti
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. A