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)
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
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.