List of usage examples for org.apache.hadoop.yarn.api.records.impl.pb ApplicationReportPBImpl ApplicationReportPBImpl
public ApplicationReportPBImpl()
From source file:org.apache.slider.common.tools.TestSliderUtils.java
License:Apache License
private ApplicationReportPBImpl getApplicationReport(long startTime, long finishTime, String name, YarnApplicationState state) {/*from w ww .ja v a 2s. c o m*/ ApplicationReportPBImpl ar = new ApplicationReportPBImpl(); ar.setFinishTime(finishTime); ar.setStartTime(startTime); ar.setApplicationType(name); ar.setYarnApplicationState(state); return ar; }