| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.records |
| Modifier and Type | Method and Description |
|---|---|
ExecutionTypeRequest |
ResourceRequest.getExecutionTypeRequest()
Get whether locality relaxation is enabled with this
ResourceRequest. |
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance() |
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance(ExecutionType execType) |
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance(ExecutionType execType,
boolean ensureExecutionType) |
| Modifier and Type | Method and Description |
|---|---|
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.executionTypeRequest(ExecutionTypeRequest executionTypeRequest)
Set the
executionTypeRequest of the request. |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
String hostName,
Resource capability,
int numContainers,
boolean relaxLocality,
String labelExpression,
ExecutionTypeRequest executionTypeRequest) |
void |
ResourceRequest.setExecutionTypeRequest(ExecutionTypeRequest execSpec)
Set the
ExecutionTypeRequest of the requested container. |
Copyright © 2022 Apache Software Foundation. All rights reserved.