Writing to multiple output channels

2008-11-13 Thread Sunil Jagadish
Hi, 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. public void map(IntWritable key, FeatureVectorWritable value , OutputCollectorText, NullWritable output, Reporter reporter)

Re: Writing to multiple output channels

2008-11-13 Thread Owen O'Malley
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

Re: Writing to multiple output channels

2008-11-13 Thread Sharad Agarwal
Sunil Jagadish wrote: Hi, I have a mapper which needs to write output into two different kinds of files (output.collect()). check MultipleOutputFormat. That may help.