| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ContainerState | ContainerReport. getContainerState()Get the final  ContainerStateof the container. | 
| abstract ContainerState | ContainerStatus. getState()Get the  ContainerStateof the container. | 
| static ContainerState | ContainerState. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ContainerState[] | ContainerState. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ContainerStatus | ContainerStatus. newInstance(ContainerId containerId,
           ContainerState containerState,
           String diagnostics,
           int exitStatus) | 
| static ContainerStatus | ContainerStatus. newInstance(ContainerId containerId,
           ExecutionType executionType,
           ContainerState containerState,
           String diagnostics,
           int exitStatus) | 
| 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) | 
| 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) | 
| abstract void | ContainerReport. setContainerState(ContainerState containerState) | 
| abstract void | ContainerStatus. setState(ContainerState state) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.