hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bishop <jbishop....@gmail.com>
Subject Re: What is the preferred way to pass a small number of configuration parameters to a mapper or reducer
Date Sun, 30 Dec 2012 19:00:50 GMT
E. Store them in hbase...


On Sun, Dec 30, 2012 at 12:24 AM, Hemanth Yamijala <
yhemanth@thoughtworks.com> wrote:

> If it is a small number, A seems the best way to me.
>
> On Friday, December 28, 2012, Kshiva Kps wrote:
>
>>
>> Which one is current ..
>>
>>
>> What is the preferred way to pass a small number of configuration
>> parameters to a mapper or reducer?
>>
>>
>>
>>
>>
>> *A.  *As key-value pairs in the jobconf object.
>>
>> * *
>>
>> *B.  *As a custom input key-value pair passed to each mapper or reducer.
>>
>> * *
>>
>> *C.  *Using a plain text file via the Distributedcache, which each
>> mapper or reducer reads.
>>
>> * *
>>
>> *D.  *Through a static variable in the MapReduce driver class (i.e., the
>> class that submits the MapReduce job).
>>
>>
>>
>> *Answer: B*
>>
>>
>>
>

Mime
View raw message