hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amareshwari Sri Ramadasu <amar...@yahoo-inc.com>
Subject Re: MultipleInputs.addInputPath throws Exception
Date Mon, 28 Jun 2010 07:24:30 GMT
Moving the thread to mapreduce-user mailing list.

Are you passing a new api mapper?
If you are passing a new api mapper, and wants to use MultipleInputs, it is not supported
in branch 0.20.
MultipleInputs are ported to use new api from branch 0.21.
Until 0.21 is released, you might have to use old api mapper.

Thanks
Amareshwari
On 6/28/10 12:24 PM, "zhangguoping zhangguoping" <zhangguoping96@gmail.com> wrote:

Hi,

When I was calling following in hadoop 0.20.2,

org.apache.hadoop.mapred.lib.MultipleInputs.addInputPath();

I got following IOException:

"mapred.input.format.class is incompatible with new map API mode."


But looks like InputFormat class is mandatory for
MultipleInputs.addInputPath. How to correct it? Is there any alternatives?

Thanks,


Mime
View raw message