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

Switch to Threaded View
MapReduce >> mail # user >> Doubt on Input and Output Mapper - Key value pairs


Copy link to this message
-
Doubt on Input and Output Mapper - Key value pairs
Hi,

Which of the following is correct w.r.t mapper.

(a) It accepts a single key-value pair as input and can emit any number of
key-value pairs as output, including zero.
(b) It accepts a single key-value pair as input and emits a single key and
list of corresponding values as output
regards,
Rams