Hi,

  You should check out the MultipleOutputs thread and patch of 
https://issues.apache.org/jira/browse/HADOOP-3149 HADOOP-3149   There are
some relevant and useful code snippets that address the issue of splitting
output to multiple files within the discussion as well as in the patch
documentation.  I found implementing this patch easier than dealing with
MultipleTextOutputFormat.

Cheers,
Mike

  

slitz wrote:
> 
> Hello,
> I need the reduce to output to different files depending on the key, after
> reading some jira entries and some previous threads of the mailing list i
> think that the MultipleTextOutputFormat class would fit my needs, the
> problem is that i can't find any example of how to use it.
> 
> Could someone please show me a quick example of how to use this class or
> MultipleOutputFormat subclasses in general? i'm somewhat lost...
> 
> slitz
> 
> 

-- 
View this message in context: 
http://www.nabble.com/MultipleOutputFormat-example-tp18118780p18119478.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to