@InterfaceAudience.Public @InterfaceStability.Evolving public class YarnUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
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.Constructor and Description |
---|
YarnUncaughtExceptionHandler() |
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2019 Apache Software Foundation. All rights reserved.