Class YarnUncaughtExceptionHandler

java.lang.Object
org.apache.hadoop.yarn.YarnUncaughtExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

@Public @Evolving public class YarnUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
This class is intended to be installed by calling Thread.setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler) In the main entry point. It is intended to try and cleanly shut down programs using the YARN Event framework. Note: Right now it only will shut down the program if a Error is caught, but not any other exception. Anything else is just logged.