hi i wanted to know the basic difference between jobconf and job objects,currently i am submitting my job like this
JobClient.runJob(jobconf);
i saw other way of submitting jobs like this
Configuration conf = getConf();
Job job = new Job(conf, "secondary sort");
job.waitForCompletion(true);
return 0;
and how can i specify the sortcomparator class for the job using jobconf?
can any one explain me this concept?