| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract ExecutionTypeRequest |
SchedulingRequest.getExecutionType() |
|
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 | Description |
|---|---|---|
SchedulingRequest.SchedulingRequestBuilder |
SchedulingRequest.SchedulingRequestBuilder.executionType(ExecutionTypeRequest executionType) |
Set the
executionType of the request. |
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.executionTypeRequest(ExecutionTypeRequest executionTypeRequest) |
Set the
executionTypeRequest of the request. |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
java.lang.String hostName,
Resource capability,
int numContainers,
boolean relaxLocality,
java.lang.String labelExpression,
ExecutionTypeRequest executionTypeRequest) |
|
static SchedulingRequest |
SchedulingRequest.newInstance(long allocationRequestId,
Priority priority,
ExecutionTypeRequest executionType,
java.util.Set<java.lang.String> allocationTags,
ResourceSizing resourceSizing,
PlacementConstraint placementConstraintExpression) |
|
abstract void |
SchedulingRequest.setExecutionType(ExecutionTypeRequest executionType) |
|
void |
ResourceRequest.setExecutionTypeRequest(ExecutionTypeRequest execSpec) |
Set the
ExecutionTypeRequest of the requested container. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.