squito commented on issue #24796: [SPARK-27900][CORE] Add uncaught exception handler to the driver URL: https://github.com/apache/spark/pull/24796#issuecomment-512494993 wait, you are not all saying the same thing. @mccheah I am suggesting that we add the `-XX:OnOutOfMemoryError="kill -9 %p"` to kubernetes, I am *NOT* proposing we add an uncaught exception handler. (I do not think we should use the newer cmds which are not present in all versions of java8.) Adding an uncaught exception handler is tricky on the driver because the user may have registered their own uncaught exception handler. https://issues.apache.org/jira/browse/SPARK-27812 has a reason maybe we should do that too. But regardless of whether we decide to do that or not, I'm still suggesting we add `-XX:OnOutOfMemoryError`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
