org.apache.hadoop.yarn.api.protocolrecords
Interface GetContainerStatusRequest


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface GetContainerStatusRequest

The request sent by the ApplicationMaster to the NodeManager to get ContainerStatus of a container.

See Also:
ContainerManager.getContainerStatus(GetContainerStatusRequest)

Method Summary
 ContainerId getContainerId()
          Get the ContainerId of container for which to obtain the ContainerStatus.
 void setContainerId(ContainerId containerId)
          Set the ContainerId of container for which to obtain the ContainerStatus
 

Method Detail

getContainerId

@InterfaceAudience.Public
@InterfaceStability.Stable
ContainerId getContainerId()
Get the ContainerId of container for which to obtain the ContainerStatus.

Returns:
ContainerId of container for which to obtain the ContainerStatus

setContainerId

@InterfaceAudience.Public
@InterfaceStability.Stable
void setContainerId(ContainerId containerId)
Set the ContainerId of container for which to obtain the ContainerStatus

Parameters:
containerId - ContainerId of container for which to obtain the ContainerStatus


Copyright © 2013 Apache Software Foundation. All Rights Reserved.