org.apache.hadoop.yarn.exceptions
Class InvalidApplicationMasterRequestException

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.InvalidApplicationMasterRequestException
All Implemented Interfaces:
Serializable

public class InvalidApplicationMasterRequestException
extends YarnException

This exception is thrown when an ApplicationMaster asks for resources by calling ApplicationMasterProtocol.allocate(AllocateRequest) API without first registering by calling ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest) or if it tries to register more then once.

See Also:
Serialized Form

Constructor Summary
InvalidApplicationMasterRequestException(String message)
           
InvalidApplicationMasterRequestException(String message, Throwable cause)
           
InvalidApplicationMasterRequestException(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

InvalidApplicationMasterRequestException

public InvalidApplicationMasterRequestException(Throwable cause)

InvalidApplicationMasterRequestException

public InvalidApplicationMasterRequestException(String message)

InvalidApplicationMasterRequestException

public InvalidApplicationMasterRequestException(String message,
                                                Throwable cause)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.