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.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RMCriticalThreadUncaughtExceptionHandler
-
-
Method Details
-
uncaughtException
- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-