Hi, all

in my job, I wanna pass some arguments to mappers and reducers from a main job.

I googled some references to do that by using Configuration.

but, it's not working.

code)

job)
Configuration conf = new Configuration();
conf.set("test", "value");

mapper)

doMap() extends Mapper... {
System.out.println(context.getConfiguration.get("test"));
/// --> this printed out "null"
}

How could I do that to make it working?--

Junyoung Kim (juneng...@gmail.com)

Reply via email to