@Public @Unstable public static GetApplicationAttemptReportResponse newInstance( ApplicationAttemptReport ApplicationAttemptReport) { GetApplicationAttemptReportResponse response = Records.newRecord(GetApplicationAttemptReportResponse.class); response.setApplicationAttemptReport(ApplicationAttemptReport); return response; }
@Public @Unstable public static GetApplicationAttemptReportResponse newInstance( ApplicationAttemptReport ApplicationAttemptReport) { GetApplicationAttemptReportResponse response = Records.newRecord(GetApplicationAttemptReportResponse.class); response.setApplicationAttemptReport(ApplicationAttemptReport); return response; }
@Public @Unstable public static GetApplicationAttemptReportResponse newInstance( ApplicationAttemptReport ApplicationAttemptReport) { GetApplicationAttemptReportResponse response = Records.newRecord(GetApplicationAttemptReportResponse.class); response.setApplicationAttemptReport(ApplicationAttemptReport); return response; }
@Public @Unstable public static GetApplicationAttemptReportResponse newInstance( ApplicationAttemptReport ApplicationAttemptReport) { GetApplicationAttemptReportResponse response = Records.newRecord(GetApplicationAttemptReportResponse.class); response.setApplicationAttemptReport(ApplicationAttemptReport); return response; }
@Override public GetApplicationAttemptReportResponse getApplicationAttemptReport( GetApplicationAttemptReportRequest request) throws YarnException, IOException { validateRunning(); GetApplicationAttemptReportResponse response = Records.newRecord(GetApplicationAttemptReportResponse.class); ApplicationAttemptReport report = Records.newRecord(ApplicationAttemptReport.class); report.setApplicationAttemptId(request.getApplicationAttemptId()); report.setYarnApplicationAttemptState(YarnApplicationAttemptState.LAUNCHED); response.setApplicationAttemptReport(report); return response; }