hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farhan Husain <farhan.hus...@csebuet.org>
Subject Re: Output pair in Mapper.cleanup method
Date Tue, 27 Apr 2010 23:33:29 GMT
Thanks Eric.

On Tue, Apr 27, 2010 at 6:19 PM, Eric Sammer <esammer@cloudera.com> wrote:

> Yes. It's a common pattern to buffer some amount of data in the map()
> method, flushing every N records and then to flush any remaining
> records in the cleanup() method.
>
> On Tue, Apr 27, 2010 at 6:57 PM, Farhan Husain
> <farhan.husain@csebuet.org> wrote:
> > Hello,
> >
> > Is it possible to output in Mapper.cleanup method since the
> Mapper.context
> > object is still available there?
> >
> > Thanks,
> > Farhan
> >
>
>
>
> --
> Eric Sammer
> phone: +1-917-287-2675
> twitter: esammer
> data: www.cloudera.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message