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

Switch to Threaded View
MapReduce, mail # user - Mapper Getting the whole split and not just line by line


Copy link to this message
-
Mapper Getting the whole split and not just line by line
Yaron Gonen 2011-10-12, 09:12
Hi,
The map method in the Mapper gets as a parameter a single line from the
split. Is there a way for Mappers to get the whole split as input?
I'd like to scan the whole split before I decide which key-value pairs to
emit to the reducer.
Thanks
yaron