On Nov 13, 2008, at 9:38 PM, Sunil Jagadish wrote:

I have a mapper which needs to write output into two different kinds of
files (output.collect()).
For my purpose, I do not need any reducers.

Set the number of reduces to 0.
Open a sequence file in the mapper and write the second stream to it.
You'll end up with two files per a mapper.

-- Owen

Reply via email to