Class YarnUncaughtExceptionHandler

  extended by org.apache.hadoop.yarn.YarnUncaughtExceptionHandler
All Implemented Interfaces:

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.

Constructor Summary
Method Summary
 void uncaughtException(Thread t, Throwable e)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public YarnUncaughtExceptionHandler()
Method Detail


public void uncaughtException(Thread t,
                              Throwable e)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler

Copyright © 2014 Apache Software Foundation. All Rights Reserved.