use of org.apache.hadoop.mapred.JobProfile in project hive by apache.
the class StatusDelegator method makeStatus.
static QueueStatusBean makeStatus(WebHCatJTShim tracker, JobID jobid, JobState state) throws BadParam, IOException {
JobStatus status = tracker.getJobStatus(jobid);
JobProfile profile = tracker.getJobProfile(jobid);
if (// No such job.
status == null || profile == null)
throw new BadParam("Could not find job " + jobid);
return new QueueStatusBean(state, status, profile);
}
Aggregations