org.apache.hadoop.yarn.api.protocolrecords
Class GetContainerStatusesResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusesResponse
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetContainerStatusesResponse
- extends Object
The response sent by the NodeManager
to the
ApplicationMaster
when asked to obtain the
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 |
GetContainerStatusesResponse
public GetContainerStatusesResponse()
getContainerStatuses
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<ContainerStatus> getContainerStatuses()
- Get the
ContainerStatus
es of the requested containers.
- Returns:
ContainerStatus
es of the requested containers.
getFailedRequests
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> getFailedRequests()
- Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests
Copyright © 2014 Apache Software Foundation. All Rights Reserved.