Class RMCriticalThreadUncaughtExceptionHandler

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.RMCriticalThreadUncaughtExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

@Private public class RMCriticalThreadUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
This class either shuts down ResourceManager or transitions the ResourceManager to standby state if a critical thread throws an uncaught exception. It is intended to be installed by calling setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) in the thread entry point or after creation of threads.