- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
@Public
@Evolving
public class YarnUncaughtExceptionHandler
extends java.lang.Object
implements java.lang.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.