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 and 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 and 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 SchedulingRequest |
SchedulingRequest.newInstance(long allocationRequestId,
Priority priority,
ExecutionTypeRequest executionType,
Set<String> allocationTags,
ResourceSizing resourceSizing,
PlacementConstraint placementConstraintExpression) |
static ResourceRequest |
ResourceRequest.newInstance(Priority priority,
String hostName,
Resource capability,
int numContainers,
boolean relaxLocality,
String labelExpression,
ExecutionTypeRequest executionTypeRequest) |
abstract void |
SchedulingRequest.setExecutionType(ExecutionTypeRequest executionType) |
void |
ResourceRequest.setExecutionTypeRequest(ExecutionTypeRequest execSpec)
Set the
ExecutionTypeRequest of the requested container. |
Copyright © 2024 Apache Software Foundation. All rights reserved.