Class GetContainerStatusesRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusesRequest
The request sent by the
ApplicationMaster to the
NodeManager to get ContainerStatus of requested
containers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ContainerId>Get the list ofContainerIds of containers for which to obtain theContainerStatus.static GetContainerStatusesRequestnewInstance(List<ContainerId> containerIds) abstract voidsetContainerIds(List<ContainerId> containerIds) Set a list ofContainerIds of containers for which to obtain theContainerStatus
-
Constructor Details
-
GetContainerStatusesRequest
public GetContainerStatusesRequest()
-
-
Method Details
-
newInstance
@Public @Stable public static GetContainerStatusesRequest newInstance(List<ContainerId> containerIds) -
getContainerIds
Get the list ofContainerIds of containers for which to obtain theContainerStatus.- Returns:
- the list of
ContainerIds of containers for which to obtain theContainerStatus.
-
setContainerIds
Set a list ofContainerIds of containers for which to obtain theContainerStatus- Parameters:
containerIds- a list ofContainerIds of containers for which to obtain theContainerStatus
-