You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by felix gao <gr...@gmail.com> on 2009/10/31 01:13:24 UTC

Hadoop 0.20.* way of writting the LineIndexer example

Hi all,

I am trying to learn how to use hadoop and I figured since I am learning
might as well know the latest syntax for it.  The code for LineIndexer is
available online.

public class LineIndexMapper extends MapReduceBase
    implements Mapper<LongWritable, Text, Text, Text>

here is the method signature for the mapper only in my eclipse it is saying
the MapReduceBase and Mapper are deprecated.  What is the new way of
declaring the Mapper/Reducer class?

If someone can provide me complete code to study on this example that would
be great.

Thanks.

Felix