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");
> }

Reply via email to