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

Switch to Plain View
HDFS >> mail # user >> What is the preferred way to pass a small number of configuration parameters to a mapper or reducer


Copy link to this message
-
What is the preferred way to pass a small number of configuration parameters to a mapper or reducer
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*
+
Ted Dunning 2012-12-28, 21:10
+
Michel Segel 2012-12-28, 22:19
+
Edward Capriolo 2012-12-29, 01:20
+
Jay Vyas 2012-12-29, 01:29