private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto p) { return new ApplicationReportPBImpl(p); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto p) { return new ApplicationReportPBImpl(p); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto a) { return new ApplicationReportPBImpl(a); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto p) { return new ApplicationReportPBImpl(p); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto p) { return new ApplicationReportPBImpl(p); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto p) { return new ApplicationReportPBImpl(p); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto a) { return new ApplicationReportPBImpl(a); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto a) { return new ApplicationReportPBImpl(a); }
private ApplicationReportPBImpl convertFromProtoFormat(ApplicationReportProto p) { return new ApplicationReportPBImpl(p); }
private ApplicationReportPBImpl getApplicationReport(long startTime, long finishTime, String name, YarnApplicationState state) { ApplicationReportPBImpl ar = new ApplicationReportPBImpl(); ar.setFinishTime(finishTime); ar.setStartTime(startTime); ar.setApplicationType(name); ar.setYarnApplicationState(state); return ar; }
private ApplicationReportPBImpl getApplicationReport(long startTime, long finishTime, String name, YarnApplicationState state) { ApplicationReportPBImpl ar = new ApplicationReportPBImpl(); ar.setFinishTime(finishTime); ar.setStartTime(startTime); ar.setApplicationType(name); ar.setYarnApplicationState(state); return ar; }
private FetchedAppReport getDefaultApplicationReport(ApplicationId appId, boolean isTrackingUrl) { FetchedAppReport fetchedReport; ApplicationReport result = new ApplicationReportPBImpl(); result.setApplicationId(appId); result.setYarnApplicationState(YarnApplicationState.RUNNING); result.setUser(CommonConfigurationKeys.DEFAULT_HADOOP_HTTP_STATIC_USER); if (isTrackingUrl) { result.setOriginalTrackingUrl("localhost:" + originalPort + "/foo/bar"); } if(configuration.getBoolean(YarnConfiguration. APPLICATION_HISTORY_ENABLED, false)) { fetchedReport = new FetchedAppReport(result, AppReportSource.AHS); } else { fetchedReport = new FetchedAppReport(result, AppReportSource.RM); } return fetchedReport; }
private FetchedAppReport getDefaultApplicationReport(ApplicationId appId, boolean isTrackingUrl) { FetchedAppReport fetchedReport; ApplicationReport result = new ApplicationReportPBImpl(); result.setApplicationId(appId); result.setYarnApplicationState(YarnApplicationState.RUNNING); result.setUser(CommonConfigurationKeys.DEFAULT_HADOOP_HTTP_STATIC_USER); if (isTrackingUrl) { result.setOriginalTrackingUrl("localhost:" + originalPort + "/foo/bar"); } if(configuration.getBoolean(YarnConfiguration. APPLICATION_HISTORY_ENABLED, false)) { fetchedReport = new FetchedAppReport(result, AppReportSource.AHS); } else { fetchedReport = new FetchedAppReport(result, AppReportSource.RM); } return fetchedReport; }