| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.server.api |
| Modifier and Type | Method | Description |
|---|---|---|
abstract ExecutionType |
Container.getExecutionType() |
Get the
ExecutionType for the container. |
abstract ExecutionType |
ContainerReport.getExecutionType() |
Get the execution type of the container.
|
ExecutionType |
ContainerStatus.getExecutionType() |
Get the
ExecutionType of the container. |
abstract ExecutionType |
ExecutionTypeRequest.getExecutionType() |
Get
ExecutionType. |
abstract ExecutionType |
UpdateContainerRequest.getExecutionType() |
Get the target
ExecutionType of the container. |
static ExecutionType |
ExecutionType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
ExecutionType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.executionType(ExecutionType executionType) |
Set the
executionTypeRequest of the request with 'ensure
execution type' flag set to true. |
static Container |
Container.newInstance(ContainerId containerId,
NodeId nodeId,
java.lang.String nodeHttpAddress,
Resource resource,
Priority priority,
Token containerToken,
ExecutionType executionType) |
|
static ContainerReport |
ContainerReport.newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
java.lang.String diagnosticInfo,
java.lang.String logUrl,
int containerExitStatus,
ContainerState containerState,
java.lang.String nodeHttpAddress,
ExecutionType executionType) |
|
static ContainerStatus |
ContainerStatus.newInstance(ContainerId containerId,
ExecutionType executionType,
ContainerState containerState,
java.lang.String diagnostics,
int exitStatus) |
|
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance(ExecutionType execType) |
|
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance(ExecutionType execType,
boolean ensureExecutionType) |
|
static UpdateContainerRequest |
UpdateContainerRequest.newInstance(int version,
ContainerId containerId,
ContainerUpdateType updateType,
Resource targetCapability,
ExecutionType targetExecutionType) |
|
abstract void |
Container.setExecutionType(ExecutionType executionType) |
Set the
ExecutionType for the container. |
abstract void |
ContainerReport.setExecutionType(ExecutionType executionType) |
|
void |
ContainerStatus.setExecutionType(ExecutionType executionType) |
|
abstract void |
ExecutionTypeRequest.setExecutionType(ExecutionType execType) |
Set the
ExecutionType of the requested container. |
abstract void |
UpdateContainerRequest.setExecutionType(ExecutionType executionType) |
Set the target
ExecutionType of the container. |
| Modifier and Type | Method | Description |
|---|---|---|
ExecutionType |
ContainerContext.getExecutionType() |
Get
ExecutionType the execution type of the container
being initialized or stopped. |
| Constructor | Description |
|---|---|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType,
ExecutionType executionType) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.