@Override public ApplicationReport run() throws Exception { return appBaseProt.getApplicationReport(request) .getApplicationReport(); } });
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Override public GetApplicationReportResponse getApplicationReport( GetApplicationReportRequest request) throws YarnException, IOException { ApplicationId applicationId = request.getApplicationId(); try { GetApplicationReportResponse response = GetApplicationReportResponse.newInstance(history .getApplication(applicationId)); return response; } catch (IOException e) { LOG.error(e.getMessage(), e); throw e; } }
@Override public ApplicationReport run() throws Exception { return appBaseProt.getApplicationReport(request) .getApplicationReport(); } });
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Override public GetApplicationReportResponse getApplicationReport( GetApplicationReportRequest request) throws YarnException, IOException { ApplicationId applicationId = request.getApplicationId(); try { GetApplicationReportResponse response = GetApplicationReportResponse.newInstance(history .getApplication(applicationId)); return response; } catch (IOException e) { LOG.error(e.getMessage(), e); throw e; } }
@Override public ApplicationReport run() throws Exception { return appBaseProt.getApplicationReport(request) .getApplicationReport(); } });
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Override public GetApplicationReportResponse getApplicationReport( GetApplicationReportRequest request) throws YarnException, IOException { ApplicationId applicationId = request.getApplicationId(); try { GetApplicationReportResponse response = GetApplicationReportResponse.newInstance(history .getApplication(applicationId)); return response; } catch (IOException e) { LOG.error(e.getMessage(), e); throw e; } }
@Override public ApplicationReport getApplicationReport(ApplicationId appId) throws YarnException, IOException { GetApplicationReportRequest request = GetApplicationReportRequest .newInstance(appId); GetApplicationReportResponse response = ahsClient .getApplicationReport(request); return response.getApplicationReport(); }
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Override public ApplicationReport run() throws Exception { GetApplicationReportRequest request = GetApplicationReportRequest.newInstance(id); return appBaseProt.getApplicationReport(request).getApplicationReport(); } });
response.setApplicationReport(report); return response;
@Override public ApplicationReport getApplicationReport(ApplicationId appId) throws YarnException, IOException { GetApplicationReportRequest request = GetApplicationReportRequest .newInstance(appId); GetApplicationReportResponse response = ahsClient .getApplicationReport(request); return response.getApplicationReport(); }
response.setApplicationReport(report); return response;
@Override public ApplicationReport getApplicationReport(ApplicationId appId) throws YarnException, IOException { GetApplicationReportRequest request = GetApplicationReportRequest .newInstance(appId); GetApplicationReportResponse response = ahsClient .getApplicationReport(request); return response.getApplicationReport(); }
response.setApplicationReport(report); return response;
@Override public ApplicationReport run() throws Exception { GetApplicationReportRequest request = GetApplicationReportRequest.newInstance(id); return appBaseProt.getApplicationReport(request).getApplicationReport(); } });
@Override public GetApplicationReportResponse getApplicationReport( GetApplicationReportRequest request) throws YarnException, IOException { validateRunning(); GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); ApplicationReport report = Records.newRecord(ApplicationReport.class); report.setYarnApplicationState(YarnApplicationState.ACCEPTED); report.setApplicationId(request.getApplicationId()); report.setCurrentApplicationAttemptId( ApplicationAttemptId.newInstance(request.getApplicationId(), 1)); report.setAMRMToken(Token.newInstance(new byte[0], "", new byte[0], "")); response.setApplicationReport(report); return response; }
@Override public ApplicationReport run() throws Exception { GetApplicationReportRequest request = GetApplicationReportRequest.newInstance(id); return appBaseProt.getApplicationReport(request).getApplicationReport(); } });