/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override ContainerReport GetContainerReport(ContainerId containerId) { GetContainerReportRequest request = GetContainerReportRequest.NewInstance(containerId ); GetContainerReportResponse response = ahsClient.GetContainerReport(request); return(response.GetContainerReport()); }
/// <exception cref="Com.Google.Protobuf.ServiceException"/> public virtual YarnServiceProtos.GetContainerReportResponseProto GetContainerReport (RpcController controller, YarnServiceProtos.GetContainerReportRequestProto proto ) { GetContainerReportRequestPBImpl request = new GetContainerReportRequestPBImpl(proto ); try { GetContainerReportResponse response = real.GetContainerReport(request); return(((GetContainerReportResponsePBImpl)response).GetProto()); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }