@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
@Private @Unstable public static GetApplicationReportResponse newInstance( ApplicationReport ApplicationReport) { GetApplicationReportResponse response = Records.newRecord(GetApplicationReportResponse.class); response.setApplicationReport(ApplicationReport); return response; }
response.setApplicationReport(report); return response;
response.setApplicationReport(report); return response;
response.setApplicationReport(report); return response;
@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; }
response.setApplicationReport(application); return response;