spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Liparoti <>
Subject Uncaught Exception Handler in master
Date Thu, 28 Mar 2019 15:37:01 GMT
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*

View raw message