I am new to Hadoop & I am a bit confused about how to submit a job to Hadoop. Earlier I was submitting the job using the following command:
JobClient.runJob(jobconf);
But while going through an online tutorial, I found out that they are submitting the job using the below command:
Configuration conf = getConf();
Job job = new Job(conf, "secondary sort");
Can anyone explain me what is the difference between jobconf & job object? Which is the right way of submitting the job?