hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: new mapreduce API and NLineInputFormat
Date Wed, 10 Nov 2010 05:06:29 GMT
Hi,

On Tue, Nov 9, 2010 at 8:42 PM, Henning Blohm <henning.blohm@zfabrik.de> wrote:
>
> However in 0.20.2 you cannot call
>
> job.setInputFormatClass(NLineInputFormat.class);
>
> as NLineInputFormat does not extend the "right" InputFormat interface
> (in
> contrast to the 0.21 version).
>

0.20.2 does not have it. You can pull the implementation from 0.21.0
and use it from within your packages if you require it, though. There
should be no problems in doing it.

Here's the file from the 0.21 branch:
http://svn.apache.org/viewvc/hadoop/mapreduce/tags/release-0.21.0/src/java/org/apache/hadoop/mapreduce/lib/input/NLineInputFormat.java?view=co

-- 
Harsh J
www.harshj.com

Mime
View raw message