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
public AllocateResponse allocate(AllocateRequest request)
2) ContainerManager has the below method. The GetContainerStatusResponse
has the status of the container.
GetContainerStatusRequest request) throws YarnRemoteException;