Class GetContainerStatusesRequest

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusesRequest

@Public @Stable public abstract class GetContainerStatusesRequest extends Object
The request sent by the ApplicationMaster to the NodeManager to get ContainerStatus of requested containers.
See Also:
  • Constructor Details

    • GetContainerStatusesRequest

      public GetContainerStatusesRequest()
  • Method Details

    • newInstance

      @Public @Stable public static GetContainerStatusesRequest newInstance(List<ContainerId> containerIds)
    • getContainerIds

      @Public @Stable public abstract List<ContainerId> getContainerIds()
      Get the list of ContainerIds of containers for which to obtain the ContainerStatus.
      Returns:
      the list of ContainerIds of containers for which to obtain the ContainerStatus.
    • setContainerIds

      @Public @Stable public abstract void setContainerIds(List<ContainerId> containerIds)
      Set a list of ContainerIds of containers for which to obtain the ContainerStatus
      Parameters:
      containerIds - a list of ContainerIds of containers for which to obtain the ContainerStatus