public class InvalidResourceRequestException extends YarnException
ResourceRequest
in the
ApplicationMasterProtocol.allocate(AllocateRequest)
API is out of the
range of the configured lower and upper limits on resources.Modifier and Type | Class and Description |
---|---|
static class |
InvalidResourceRequestException.InvalidResourceType |
Modifier and Type | Field and Description |
---|---|
static String |
GREATER_THAN_MAX_RESOURCE_MESSAGE_TEMPLATE |
static String |
LESS_THAN_ZERO_RESOURCE_MESSAGE_TEMPLATE |
static String |
UNKNOWN_REASON_MESSAGE_TEMPLATE |
Constructor and Description |
---|
InvalidResourceRequestException(String message) |
InvalidResourceRequestException(String message,
InvalidResourceRequestException.InvalidResourceType invalidResourceType) |
InvalidResourceRequestException(String message,
Throwable cause) |
InvalidResourceRequestException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
InvalidResourceRequestException.InvalidResourceType |
getInvalidResourceType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String LESS_THAN_ZERO_RESOURCE_MESSAGE_TEMPLATE
public static final String GREATER_THAN_MAX_RESOURCE_MESSAGE_TEMPLATE
public static final String UNKNOWN_REASON_MESSAGE_TEMPLATE
public InvalidResourceRequestException(Throwable cause)
public InvalidResourceRequestException(String message)
public InvalidResourceRequestException(String message, InvalidResourceRequestException.InvalidResourceType invalidResourceType)
public InvalidResourceRequestException.InvalidResourceType getInvalidResourceType()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.