hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffry Roberts <geoffry.robe...@gmail.com>
Subject Does Using MultipleTextOutputFormat Require the Deprecated API?
Date Tue, 29 Sep 2009 20:44:33 GMT

What I want to do is output from my reducer multiple files one for each key

Can this still be done in the current API?

It seems that using MultipleTextOutputFormat requires one to use deprecated
parts of API.

It this correct?

I would like to use the class or its equivalent and stay off anything

Is there a work around?

In the current API one uses Job and a class derived from the
MultipleTextOutputFormat does not derive from this class.

Job.setOutputFormatClass(Class<? extends org.apache.hadoop.mapreduce.

In the Old, deprecated API, one uses JobConf and an implementation of the
interface org.apache.hadoop.mapred.OutputFormat.  MultipleTextOutputFormat
is just such an implementation.

JobConf.setOutputFormat(Class<? extends org.apache.hadoop.mapred .

View raw message