@Override
public GetAllApplicationsResponseProto getAllApplications(
RpcController controller, GetAllApplicationsRequestProto proto)
throws ServiceException {
GetAllApplicationsRequestPBImpl request =
new GetAllApplicationsRequestPBImpl(proto);
try {
GetAllApplicationsResponse response = real.getAllApplications(request);
return ((GetAllApplicationsResponsePBImpl)response).getProto();
} catch (YarnRemoteException e) {
throw new ServiceException(e);