Hello Yaron,

Yes, this is possible to do.

You need to plug in your own RecordReader implementation into the job,
to control the emits and the action done before feeding key-value pair
data into map(…).

On Wed, Oct 12, 2011 at 2:42 PM, Yaron Gonen <yaron.go...@gmail.com> wrote:
> 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
>



-- 
Harsh J

Reply via email to