hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kshiva Kps <kshiva...@gmail.com>
Subject What is the preferred way to pass a small number of configuration parameters to a mapper or reducer
Date Fri, 28 Dec 2012 08:17:26 GMT
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