Class GetLocalizationStatusesRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetLocalizationStatusesRequest
The request sent by an application master to the node manager to get
LocalizationStatuses of containers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ContainerId>Get the list of container IDs of the containers for which the localization statuses are needed.newInstance(List<ContainerId> containerIds) abstract voidsetContainerIds(List<ContainerId> containerIds) Sets the list of container IDs of containers for which the localization statuses are needed.
-
Constructor Details
-
GetLocalizationStatusesRequest
public GetLocalizationStatusesRequest()
-
-
Method Details
-
newInstance
@Public @Unstable public static GetLocalizationStatusesRequest newInstance(List<ContainerId> containerIds) -
getContainerIds
Get the list of container IDs of the containers for which the localization statuses are needed.- Returns:
- the list of container IDs.
-
setContainerIds
Sets the list of container IDs of containers for which the localization statuses are needed.- Parameters:
containerIds- the list of container IDs.
-