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
Luca Pireddu 2011-07-27, 06:30
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!


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