org.apache.hadoop.yarn.api.protocolrecords
Class GetContainerStatusesResponse

java.lang.Object
  extended by 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)

Constructor Summary
GetContainerStatusesResponse()
           
 
Method Summary
abstract  List<ContainerStatus> getContainerStatuses()
          Get the ContainerStatuses of the requested containers.
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetContainerStatusesResponse

public GetContainerStatusesResponse()
Method Detail

getContainerStatuses

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<ContainerStatus> getContainerStatuses()
Get the ContainerStatuses of the requested containers.

Returns:
ContainerStatuses 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.