@Override public GetTaskAttemptReportResponseProto getTaskAttemptReport( RpcController controller, GetTaskAttemptReportRequestProto proto) throws ServiceException { GetTaskAttemptReportRequest request = new GetTaskAttemptReportRequestPBImpl(proto); try { GetTaskAttemptReportResponse response = real.getTaskAttemptReport(request); return ((GetTaskAttemptReportResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetTaskAttemptReportResponse getTaskAttemptReport( GetTaskAttemptReportRequest request) throws IOException { GetTaskAttemptReportRequestProto requestProto = ((GetTaskAttemptReportRequestPBImpl)request).getProto(); try { return new GetTaskAttemptReportResponsePBImpl(proxy.getTaskAttemptReport(null, requestProto)); } catch (ServiceException e) { throw unwrapAndThrowException(e); } }