hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <omal...@apache.org>
Subject Re: Initialize Map class
Date Sun, 17 Oct 2010 18:38:46 GMT

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

View raw message