Re: MultipleOutputFormat

2010-10-31 Thread Ted Yu
>From Java doc: * Generate the file output file name based on the given key and the leaf file * name. The default behavior is that the file name does not depend on the * key. You can extend MultipleTextOutputFormat or MultipleSequenceFileOutputFormat to override the default naming. On Su

MultipleOutputFormat

2010-10-31 Thread Yin Lou
Hi, I wonder how MultipleOutputFormat works. Suppose my reducer -> . Does the method "generateFileNameForKeyValue" depends on k2 or k1? Is there anyway to generate file name based on k1? Thanks, Yin