## Uses of Class
org.apache.hadoop.yarn.api.records.ContainerStatus

- Packages that use ContainerStatus
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.protocolrecords |
  org.apache.hadoop.yarn.api.records |

- - ### Uses of ContainerStatus in org.apache.hadoop.yarn.api.protocolrecords

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type ContainerStatus
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<ContainerStatus>` | AllocateResponse.`getCompletedContainersStatuses()` Get the list of completed containers' statuses.
    `abstract List<ContainerStatus>` | GetContainerStatusesResponse.`getContainerStatuses()` Get the `ContainerStatus`es of the requested containers.

    Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type ContainerStatus
    Modifier and Type | Method and Description
    --- | ---
    `AllocateResponse.AllocateResponseBuilder` | AllocateResponse.AllocateResponseBuilder.`completedContainersStatuses(List<ContainerStatus> completedContainersStatuses)` Set the `completedContainersStatuses` of the response.
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens)`
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, CollectorInfo collectorInfo)`
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers)`
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers, CollectorInfo collectorInfo)`
    `static GetContainerStatusesResponse` | GetContainerStatusesResponse.`newInstance(List<ContainerStatus> statuses, Map<ContainerId,SerializedException> failedRequests)`
    `abstract void` | AllocateResponse.`setCompletedContainersStatuses(List<ContainerStatus> containers)`
    `abstract void` | GetContainerStatusesResponse.`setContainerStatuses(List<ContainerStatus> statuses)` Set the `ContainerStatus`es of the requested containers.

  - ### Uses of ContainerStatus in org.apache.hadoop.yarn.api.records

    Methods in org.apache.hadoop.yarn.api.records that return ContainerStatus
    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)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.