Easiest way to pass dynamic variable to Map Class

View: New views
2 Messages — Rating Filter:   Alert me  

Easiest way to pass dynamic variable to Map Class

by Pankil Doshi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

by Aaron Kimball-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <forpankil@...> wrote:

> Hello everyone,
>
> What will be easiest way to pass Dynamic value to map class??
> Dynamic value are arguments given at run time.
>
> Pankil
>