Re: difference between mapper and map runnable

2009-08-28 Thread Arun C Murthy
On Aug 27, 2009, at 5:25 AM, Rakhi Khatwani wrote: Hi, Whats the difference between a mapper and map runnable and its usage? MapRunnable has more control. It has the iterator to the input keys/ values... The new Map-Reduce api (context objects, available in hadoop-0.20 onwards) yo

RE: difference between mapper and map runnable

2009-08-27 Thread Amogh Vasekar
Hi, Mapper is used to process the pair passed to it, MapRunnable is an interface, when implemented is responsible for generating a conforming pair and pass it to Mapper. Cheers! Amogh -Original Message- From: Rakhi Khatwani [mailto:rkhatw...@gmail.com] Sent: Thursday, August 27, 2009