Job, JobConf, and Configuration.

2012-04-08 Thread JAX
Hi guys. Just a theoretical question here : I notice in chapter 1 of the Hadoop orielly book that the new API example has *no* Configuration object. Why is that? I thought the new API still uses / needs a Configuration class when running jobs. Jay Vyas MMSB UCHC On Apr 7, 2012, at 4:29

Re: Job, JobConf, and Configuration.

2012-04-08 Thread Harsh J
The Job class encapsulates the Configuration object and manages it for you. You can also get its reference out via Job.getConfiguration() - http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapreduce/JobContext.html#getConfiguration() Hence, when you do a: Job job = new Job();,