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