162163164165166167168169170171172
} else if (jobType.equals("mapreduce")) { submit = new SubmitMRXCommand(conf); } else if (jobType.equals("hive")) { submit = new SubmitHiveXCommand(conf); } else if (jobType.equals("sqoop")) { submit = new SubmitSqoopXCommand(conf); }
158159160161162163164165166167168
} else if (jobType.equals("mapreduce")) { submit = new SubmitMRXCommand(conf); } else if (jobType.equals("hive")) { submit = new SubmitHiveXCommand(conf); } jobId = submit.call(); start(jobId); return jobId;