We open our files in the configure method, and close them in the close method of the Map or Reduce class.

Lukas Vlcek wrote:
Hi,

Is it possible to have Reducer output the data into two different formats at
the same time?
For example one output in SequenceFileOutputFormat for further processing by
consequential M/R job and second output in TextOutputFormat for later human
review. Isn't this use case disqualified by the fact that there is no way
how to set two output paths in JobConf?

I think it should be possible to create output file in TextOutputFormat from
SequenceFileOutputFormat input file but this requires running of extra M/R
job.

Regards,
Lukas

Reply via email to