@Override
public List<JobExecution> getJobExecutions(JobInstance jobInstance) {
List<JobExecution> jobExecutions = new ArrayList<JobExecution>();
GetJobExecutionsReq request = JobRepositoryRpcFactory.buildGetJobExecutionsReq(jobInstance);
GetJobExecutionsRes response = (GetJobExecutionsRes) getAppmasterScOperations().doMindRequest(request);
for (JobExecutionType j : response.jobExecutions) {
jobExecutions.add(JobRepositoryRpcFactory.convertJobExecutionType(j));
}
return jobExecutions;
}