Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
abstract List<ResourceRequest> |
AllocateRequest.getAskList()
Get the list of
ResourceRequest to update the
ResourceManager about the application's resource requirements. |
Modifier and Type | Method and Description |
---|---|
AllocateRequest.AllocateRequestBuilder |
AllocateRequest.AllocateRequestBuilder.askList(List<ResourceRequest> askList)
Set the
askList of the request. |
static AllocateRequest |
AllocateRequest.newInstance(int responseID,
float appProgress,
List<ResourceRequest> resourceAsk,
List<ContainerId> containersToBeReleased,
List<UpdateContainerRequest> updateRequests,
ResourceBlacklistRequest resourceBlacklistRequest) |
static AllocateRequest |
AllocateRequest.newInstance(int responseID,
float appProgress,
List<ResourceRequest> resourceAsk,
List<ContainerId> containersToBeReleased,
ResourceBlacklistRequest resourceBlacklistRequest) |
static AllocateRequest |
AllocateRequest.newInstance(int responseID,
float appProgress,
List<ResourceRequest> resourceAsk,
List<ContainerId> containersToBeReleased,
ResourceBlacklistRequest resourceBlacklistRequest,
String trackingUrl) |
abstract void |
AllocateRequest.setAskList(List<ResourceRequest> resourceRequests)
Set list of
ResourceRequest to update the
ResourceManager about the application's resource requirements. |
Modifier and Type | Method and Description |
---|---|
ResourceRequest |
ResourceRequest.ResourceRequestBuilder.build()
Return generated
ResourceRequest object. |
static ResourceRequest |
ResourceRequest.clone(ResourceRequest rr)
Clone a ResourceRequest object (shallow copy).
|
abstract ResourceRequest |
ApplicationSubmissionContext.getAMContainerResourceRequest()
Deprecated.
|
abstract ResourceRequest |
PreemptionResourceRequest.getResourceRequest() |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
String hostName,
Resource capability,
int numContainers) |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
String hostName,
Resource capability,
int numContainers,
boolean relaxLocality) |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
String hostName,
Resource capability,
int numContainers,
boolean relaxLocality,
String labelExpression) |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
String hostName,
Resource capability,
int numContainers,
boolean relaxLocality,
String labelExpression,
ExecutionTypeRequest executionTypeRequest) |
Modifier and Type | Method and Description |
---|---|
abstract List<ResourceRequest> |
ApplicationSubmissionContext.getAMContainerResourceRequests()
Get the ResourceRequests of the AM container.
|
Modifier and Type | Method and Description |
---|---|
static ResourceRequest |
ResourceRequest.clone(ResourceRequest rr)
Clone a ResourceRequest object (shallow copy).
|
int |
ResourceRequest.ResourceRequestComparator.compare(ResourceRequest r1,
ResourceRequest r2) |
int |
ResourceRequest.compareTo(ResourceRequest other) |
static ApplicationSubmissionContext |
ApplicationSubmissionContext.newInstance(ApplicationId applicationId,
String applicationName,
String queue,
ContainerLaunchContext amContainer,
boolean isUnmanagedAM,
boolean cancelTokensWhenComplete,
int maxAppAttempts,
String applicationType,
boolean keepContainers,
String appLabelExpression,
ResourceRequest resourceRequest) |
abstract void |
ApplicationSubmissionContext.setAMContainerResourceRequest(ResourceRequest request)
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ApplicationSubmissionContext.setAMContainerResourceRequests(List<ResourceRequest> requests)
Set ResourceRequests of the AM container.
|
Copyright © 2023 Apache Software Foundation. All rights reserved.