Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - Multiple Output Formats


Copy link to this message
-
Re: Multiple Output Formats
Alejandro Abdelnur 2011-07-27, 13:51
Roger,

Or you can take a look at Hadoop's MultipleOutputs class.

Thanks.

Alejandro

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
> multiple
> > 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!
>
> Hello,
>
> I have a working sample here:
>
> http://biodoop-seal.bzr.sourceforge.net/bzr/biodoop-
> seal/trunk/annotate/head%3A/src/it/crs4/seal/demux/DemuxOutputFormat.java
>
> It extends FileOutputFormat.
>
> --
> Luca Pireddu
> CRS4 - Distributed Computing Group
> Loc. Pixina Manna Edificio 1
> Pula 09010 (CA), Italy
> Tel:  +39 0709250452
>