On Tue, Jul 22, 2008 at 5:04 PM, Lincoln Ritter <[EMAIL PROTECTED]> wrote: > Greetings, > > I would like to write one file per key in the reduce (or map) phase of a > mapreduce job. I have looked at the documentation for > FileOutputFormat and MultipleTextOutputFormat but am a bit unclear on > how to use it/them. Can anybody give me a quick pointer?
One way to cheat for the reduce part of this - do you know the maximum number of keys? If so, I think you should be able to just set the number of reducers to >= the maximum number of keys. -- James Moore | [EMAIL PROTECTED] Ruby and Ruby on Rails consulting blog.restphone.com