|
|
-
Easiest way to pass dynamic variable to Map Class
Pankil Doshi 2009-10-05, 23:50
Hello everyone,
What will be easiest way to pass Dynamic value to map class?? Dynamic value are arguments given at run time.
Pankil
-
Re: Easiest way to pass dynamic variable to Map Class
Aaron Kimball 2009-10-05, 23:52
You can set these in the JobConf when you're creating the MapReduce job, and then read them back in the configure() method of the Mapper class.
- Aaron
On Mon, Oct 5, 2009 at 4:50 PM, Pankil Doshi <[EMAIL PROTECTED]> wrote:
> Hello everyone, > > What will be easiest way to pass Dynamic value to map class?? > Dynamic value are arguments given at run time. > > Pankil >
-
Re: Easiest way to pass dynamic variable to Map Class
Amandeep Khurana 2009-10-06, 00:12
How do we do it in the 0.20 api? I've used this in 0.19 but not sure of 0.20...
On 10/5/09, Aaron Kimball <[EMAIL PROTECTED]> wrote: > You can set these in the JobConf when you're creating the MapReduce job, and > then read them back in the configure() method of the Mapper class. > > - Aaron > > On Mon, Oct 5, 2009 at 4:50 PM, Pankil Doshi <[EMAIL PROTECTED]> wrote: > >> Hello everyone, >> >> What will be easiest way to pass Dynamic value to map class?? >> Dynamic value are arguments given at run time. >> >> Pankil >> > -- Amandeep Khurana Computer Science Graduate Student University of California, Santa Cruz
-
Re: Easiest way to pass dynamic variable to Map Class
Pankil Doshi 2009-10-06, 01:01
Thanks Aaron. I could do it in 0.19
Pankil
On Mon, Oct 5, 2009 at 7:12 PM, Amandeep Khurana <[EMAIL PROTECTED]> wrote:
> How do we do it in the 0.20 api? I've used this in 0.19 but not sure of > 0.20... > > On 10/5/09, Aaron Kimball <[EMAIL PROTECTED]> wrote: > > You can set these in the JobConf when you're creating the MapReduce job, > and > > then read them back in the configure() method of the Mapper class. > > > > - Aaron > > > > On Mon, Oct 5, 2009 at 4:50 PM, Pankil Doshi <[EMAIL PROTECTED]> > wrote: > > > >> Hello everyone, > >> > >> What will be easiest way to pass Dynamic value to map class?? > >> Dynamic value are arguments given at run time. > >> > >> Pankil > >> > > > > > -- > > > Amandeep Khurana > Computer Science Graduate Student > University of California, Santa Cruz >
-
RE: Easiest way to pass dynamic variable to Map Class
Amogh Vasekar 2009-10-06, 05:06
Hi, I guess configure is now setup(), and using toolrunner can create a configuration / context to mimic the required behavior.
Thanks, Amogh -----Original Message----- From: Amandeep Khurana [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 06, 2009 5:43 AM To: [EMAIL PROTECTED] Subject: Re: Easiest way to pass dynamic variable to Map Class
How do we do it in the 0.20 api? I've used this in 0.19 but not sure of 0.20...
On 10/5/09, Aaron Kimball <[EMAIL PROTECTED]> wrote: > You can set these in the JobConf when you're creating the MapReduce job, and > then read them back in the configure() method of the Mapper class. > > - Aaron > > On Mon, Oct 5, 2009 at 4:50 PM, Pankil Doshi <[EMAIL PROTECTED]> wrote: > >> Hello everyone, >> >> What will be easiest way to pass Dynamic value to map class?? >> Dynamic value are arguments given at run time. >> >> Pankil >> > -- Amandeep Khurana Computer Science Graduate Student University of California, Santa Cruz
|
|