With new api, functionality of MultipleOutputFormat and MultipleOutputs
is combined into one as
org.apache.hadoop.mapreduce.lib.output.MultipleOutputs in branch 0.21.
You can use the same.
Thanks
Amareshwari
Sean Owen wrote:
FWIW this same sort of thing is blocking Apache Mahout from progress
on implementations using Hadoop. I imagine the whole migration is far
more involved than it appears so it makes sense it is taking time. But
yeah making all the new APIs compatible with the new APIs would be a
great step forward for 0.20.x
On Wed, Oct 21, 2009 at 1:00 PM, Maxim Ulanovskiy
<[email protected]> wrote:
Hello, fellows!
Have a problem with migration to Hadoop 0.20: I need to register
MyOutputFormatClass which extends MultipleOutputFormat in Job object. But
since Job.setOutputFormatClass(Class<? extends OutputFormat> cls) requires
new version of OutputFormat class and MultipleOutputFormat implements old
version of OutputFormat I can't register it. So is there any replacement of
MultipleOutputFormat in the new API or I should implement some kind of
adapter?
--
Best Regards,
Maxim Ulanovskiy
java-developer
IPonWeb