hp.setProperty("hadoop.mapred.job.zeus_id", "zeus_debug_"+history.getId());
List<Job> pres = new ArrayList<Job>(1);
pres.add(new DownloadJob(jobContext));
Job core = null;
if(history.getJobRunType()==JobRunType.Hive){
core =new HiveJob(jobContext,applicationContext);
}else if(history.getJobRunType()==JobRunType.Shell){
core=new HadoopShellJob(jobContext);
}
Job job=new WithProcesserJob(jobContext, pres, new ArrayList<Job>(), core, applicationContext);
return job;