| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.server.api | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ExecutionType | Container. getExecutionType()Get the  ExecutionTypefor the container. | 
| abstract ExecutionType | UpdateContainerRequest. getExecutionType()Get the target  ExecutionTypeof the container. | 
| abstract ExecutionType | ContainerReport. getExecutionType()Get the execution type of the container. | 
| ExecutionType | ContainerStatus. getExecutionType()Get the  ExecutionTypeof the container. | 
| abstract ExecutionType | ExecutionTypeRequest. getExecutionType()Get  ExecutionType. | 
| static ExecutionType | ExecutionType. valueOf(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 and Description | 
|---|---|
| ResourceRequest.ResourceRequestBuilder | ResourceRequest.ResourceRequestBuilder. executionType(ExecutionType executionType)Set the  executionTypeRequestof the request with 'ensure
 execution type' flag set to true. | 
| static ContainerStatus | ContainerStatus. newInstance(ContainerId containerId,
           ExecutionType executionType,
           ContainerState containerState,
           String diagnostics,
           int exitStatus) | 
| static Container | Container. newInstance(ContainerId containerId,
           NodeId nodeId,
           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,
           String diagnosticInfo,
           String logUrl,
           int containerExitStatus,
           ContainerState containerState,
           String nodeHttpAddress,
           ExecutionType executionType) | 
| 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  ExecutionTypefor the container. | 
| abstract void | UpdateContainerRequest. setExecutionType(ExecutionType executionType)Set the target  ExecutionTypeof the container. | 
| abstract void | ContainerReport. setExecutionType(ExecutionType executionType) | 
| void | ContainerStatus. setExecutionType(ExecutionType executionType) | 
| abstract void | ExecutionTypeRequest. setExecutionType(ExecutionType execType)Set the  ExecutionTypeof the requested container. | 
| Modifier and Type | Method and Description | 
|---|---|
| ExecutionType | ContainerContext. getExecutionType()Get  ExecutionTypethe execution type of the container
 being initialized or stopped. | 
| Constructor and Description | 
|---|
| ContainerContext(String user,
                ContainerId containerId,
                Resource resource,
                ContainerType containerType,
                ExecutionType executionType) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.