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" <[email protected]> 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
