Class GetLocalizationStatusesRequest

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

@Public @Unstable public abstract class GetLocalizationStatusesRequest extends Object
The request sent by an application master to the node manager to get LocalizationStatuses of containers.
See Also:
  • Constructor Details

    • GetLocalizationStatusesRequest

      public GetLocalizationStatusesRequest()
  • Method Details

    • newInstance

      @Public @Unstable public static GetLocalizationStatusesRequest newInstance(List<ContainerId> containerIds)
    • getContainerIds

      @Public @Unstable public abstract List<ContainerId> getContainerIds()
      Get the list of container IDs of the containers for which the localization statuses are needed.
      Returns:
      the list of container IDs.
    • setContainerIds

      @Public @Unstable public abstract void setContainerIds(List<ContainerId> containerIds)
      Sets the list of container IDs of containers for which the localization statuses are needed.
      Parameters:
      containerIds - the list of container IDs.