org.apache.hadoop.yarn.api.protocolrecords
Class GetContainerStatusesRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusesRequest
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetContainerStatusesRequest
- extends Object
The request sent by the ApplicationMaster to the
NodeManager to get ContainerStatus of requested
containers.
- See Also:
ContainerManagementProtocol.getContainerStatuses(GetContainerStatusesRequest)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetContainerStatusesRequest
public GetContainerStatusesRequest()
newInstance
@InterfaceAudience.Public
@InterfaceStability.Stable
public static GetContainerStatusesRequest newInstance(List<ContainerId> containerIds)
getContainerIds
@InterfaceAudience.Public
@InterfaceStability.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
@InterfaceAudience.Public
@InterfaceStability.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
Copyright © 2014 Apache Software Foundation. All Rights Reserved.