you can always dump the entire property space and work it out that way. I haven't used the 0.20 api's yet so I can't speak to them
On Tue, Jun 2, 2009 at 10:52 AM, Rares Vernica <[email protected]> wrote: > On 6/2/09, [email protected] <[email protected]> wrote: > > > > Your Map class needs to have a configure method that can access the > JobConf. > > Like this: > > In Hadoop 0.20 the new Mapper class does no longer have "configure" > and JobConf has been replaced with Job. In the Mapper methods, you now > get a Context object. > > > public void configure(JobConf conf) > > { > > System.out.println(conf.get("map.input.file"); > > } > -- Alpha Chapters of my book on Hadoop are available http://www.apress.com/book/view/9781430219422 www.prohadoopbook.com a community for Hadoop Professionals
