use of org.apache.hyracks.api.job.JobInfo in project asterixdb by apache.
the class GetJobInfoWork method doRun.
@Override
protected void doRun() throws Exception {
try {
JobRun run = jobManager.get(jobId);
JobInfo info = (run != null) ? new JobInfo(run.getJobId(), run.getStatus(), run.getOperatorLocations()) : null;
callback.setValue(info);
} catch (Exception e) {
callback.setException(e);
}
}