gument
to configure() method which you implement in Mapper as you mentioned below.
Thanks
Devaraj k
From: Tanniru Govardhan [mailto:govardhan5...@gmail.com]
Sent: 26 July 2013 21:06
To: user@hadoop.apache.org; dunaniman...@gmail.com
Subject: Re: Context Object in Map Reduce
Thanks Manish. you are
Thanks Manish. you are correct. I figured it out somehow.
This is what i had to change.
In the main class
*
Configuration config = new Configuration();
config.set("filename", "Syn-100n-8t-2l-2k.vars");
*
*JobConf conf = new JobConf(config,Hadoop_GNTS.class);*
*
*
In the Map class
*
public void con
If u r using OutputCollector,Reporter then no need to use Context..Context
works same as OutputCollector and Reporter.
That is used to collect mapper's pair.
On Fri, Jul 26, 2013 at 8:03 PM, manish dunani wrote:
> Can u please elaborate what is the code and what is error.??
>
> Then it will
Can u please elaborate what is the code and what is error.??
Then it will be much better to give the answer.
Regards Manish Dunani..
On Fri, Jul 26, 2013 at 7:07 PM, Tanniru Govardhan
wrote:
> Hi everyone,
> I am trying to pass a string variable from Driver class to Mapper class.
> I came to k