org.apache.hadoop.yarn.exceptions
Class InvalidResourceRequestException

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

public class InvalidResourceRequestException
extends YarnException

This exception is thrown when a resource requested via ResourceRequest in the ApplicationMasterProtocol.allocate(AllocateRequest) API is out of the range of the configured lower and upper limits on resources.

See Also:
Serialized Form

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

InvalidResourceRequestException

public InvalidResourceRequestException(Throwable cause)

InvalidResourceRequestException

public InvalidResourceRequestException(String message)

InvalidResourceRequestException

public InvalidResourceRequestException(String message,
                                       Throwable cause)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.