@Override
public List<JobInstance> getJobInstances(String jobName, int start, int count) {
List<JobInstance> jobInstances = new ArrayList<JobInstance>();
try {
GetJobInstancesReq request = JobRepositoryRpcFactory.buildGetJobInstancesReq(jobName, start, count);
GetJobInstancesRes response = (GetJobInstancesRes) getAppmasterScOperations().doMindRequest(request);
for (JobInstanceType j : response.jobInstances) {
jobInstances.add(JobRepositoryRpcFactory.convertJobInstanceType(j));
}
} catch (Exception e) {