Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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

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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB