Package | Description |
---|---|
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.allocationRequestId(long allocationRequestId)
Set the
allocationRequestId of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.capability(Resource capability)
Set the
capability of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.executionType(ExecutionType executionType)
Set the
executionTypeRequest of the request with 'ensure
execution type' flag set to true. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.executionTypeRequest(ExecutionTypeRequest executionTypeRequest)
Set the
executionTypeRequest of the request. |
static ResourceRequest.ResourceRequestBuilder |
ResourceRequest.newBuilder() |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.nodeLabelExpression(String nodeLabelExpression)
Set the
nodeLabelExpression of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.numContainers(int numContainers)
Set the
numContainers of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.priority(Priority priority)
Set the
priority of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.relaxLocality(boolean relaxLocality)
Set the
relaxLocality of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.resourceName(String resourceName)
Set the
resourceName of the request. |
Copyright © 2023 Apache Software Foundation. All rights reserved.