Or you can take a look at Hadoop's MultipleOutputs class.
On Tue, Jul 26, 2011 at 11:30 PM, Luca Pireddu <[EMAIL PROTECTED]> wrote:
> On July 26, 2011 06:11:33 PM Roger Chen wrote:
> > Hi all,
> > I am attempting to implement MultipleOutputFormat to write data to
> > files dependent on the output keys and values. Can somebody provide a
> > working example with how to implement this in Hadoop 0.20.2?
> > Thanks!
> I have a working sample here:
> It extends FileOutputFormat.
> Luca Pireddu
> CRS4 - Distributed Computing Group
> Loc. Pixina Manna Edificio 1
> Pula 09010 (CA), Italy
> Tel: +39 0709250452