/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override ApplicationReport GetApplicationReport(ApplicationId appId) { GetApplicationReportRequest request = GetApplicationReportRequest.NewInstance(appId ); GetApplicationReportResponse response = ahsClient.GetApplicationReport(request); return(response.GetApplicationReport()); }
/// <exception cref="Com.Google.Protobuf.ServiceException"/> public virtual YarnServiceProtos.GetApplicationReportResponseProto GetApplicationReport (RpcController arg0, YarnServiceProtos.GetApplicationReportRequestProto proto) { GetApplicationReportRequestPBImpl request = new GetApplicationReportRequestPBImpl (proto); try { GetApplicationReportResponse response = real.GetApplicationReport(request); return(((GetApplicationReportResponsePBImpl)response).GetProto()); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }