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.hus...@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

Reply via email to