Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - Initialize Map class


Copy link to this message
-
Re: Initialize Map class
Owen O'Malley 2010-10-17, 18:38

On Oct 17, 2010, at 11:31 AM, web service wrote:

> I would want to initialize a Map class with some parameters. How do  
> I do that ?

The objects that define a MapReduce job are all configured by the  
job's configuration, which is a string to string map. If your Mapper  
class implements Configurable, it will be initialized with the job's  
configuration automatically.

-- Owen