You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by Praveen Sripati <pr...@gmail.com> on 2012/01/09 14:42:29 UTC

Status of the completed containers (0.23)

Hi,

Documentation says that the NM sends the status of the completed containers
to the RM and the RM sends it to the AM. This is the interface (1) below.
What is the purpose of the interface (2)?

1) AMRMProtocol has the below method. The AllocateResponse has the list of
completed containers.

  public AllocateResponse allocate(AllocateRequest request)
  throws YarnRemoteException;

2) ContainerManager has the below method. The GetContainerStatusResponse
has the status of the container.

  GetContainerStatusResponse getContainerStatus(
      GetContainerStatusRequest request) throws YarnRemoteException;

Regards,
Praveen

Re: Status of the completed containers (0.23)

Posted by Robert Evans <ev...@yahoo-inc.com>.
Praveen,

Looking at the code, it does not appear to currently be used outside of testing.  I really don't know.  Perhaps in the future if it is extended then it might be used more.  Or perhaps the author of the API added it in for completeness. Just speculating.

--Bobby Evans

On 1/9/12 7:42 AM, "Praveen Sripati" <pr...@gmail.com> wrote:

Hi,

Documentation says that the NM sends the status of the completed containers
to the RM and the RM sends it to the AM. This is the interface (1) below.
What is the purpose of the interface (2)?

1) AMRMProtocol has the below method. The AllocateResponse has the list of
completed containers.

  public AllocateResponse allocate(AllocateRequest request)
  throws YarnRemoteException;

2) ContainerManager has the below method. The GetContainerStatusResponse
has the status of the container.

  GetContainerStatusResponse getContainerStatus(
      GetContainerStatusRequest request) throws YarnRemoteException;

Regards,
Praveen