Uses of Class org.apache.hadoop.yarn.api.records.ContainerStatus (Apache Hadoop YARN API 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.records, class: ContainerStatus

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

Packages that use ContainerStatus
Package
Description
org.apache.hadoop.yarn.api.protocolrecords
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.api.records
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- ## 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
  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
  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 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, EnhancedHeadroom enhancedHeadroom)`
  `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
  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)`