org.apache.hadoop.yarn.exceptions
Class ApplicationMasterNotRegisteredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.hadoop.yarn.exceptions.YarnException
              extended by org.apache.hadoop.yarn.exceptions.ApplicationMasterNotRegisteredException
All Implemented Interfaces:
Serializable

public class ApplicationMasterNotRegisteredException
extends YarnException

This exception is thrown when an Application Master tries to unregister by calling ApplicationMasterProtocol.finishApplicationMaster(FinishApplicationMasterRequest) API without first registering by calling ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest) or after an RM restart. The ApplicationMaster is expected to call ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest) and retry.

See Also:
Serialized Form

Constructor Summary
ApplicationMasterNotRegisteredException(String message)
           
ApplicationMasterNotRegisteredException(String message, Throwable cause)
           
ApplicationMasterNotRegisteredException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationMasterNotRegisteredException

public ApplicationMasterNotRegisteredException(Throwable cause)

ApplicationMasterNotRegisteredException

public ApplicationMasterNotRegisteredException(String message)

ApplicationMasterNotRegisteredException

public ApplicationMasterNotRegisteredException(String message,
                                               Throwable cause)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.