We set the values in the JobConf object, in the driver, using the set
methods defined on the JobConf class.
In the mapper class we access the conf parameters, via the get methods
defined on the JobConf class.
The JobConf, configuration object is made available to the mapper class
in the method configure.
We define the JobConf object as a member variable in the mapper class
and set it in the configure method as below
/** Store away the job configuration information and start a timer. */
@Override
public void configure(JobConf job) {
super.configure(job);
this.job = job;
Happy Holidays
helena21 wrote:
Hi everybody,
please explain me the steps to pass user parameters for the mapper class.
thanks.