Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Identity Reducer


Copy link to this message
-
Re: Identity Reducer
I guess you are using org.apache.hadoop.mapreduce.Mapper which is a class
for hadoop new API. you can use the org.apache.hadoop.mapred.Mapper which is
for old API

On Thu, Feb 11, 2010 at 5:10 PM, Prabhu Hari Dhanapal <
[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I m trying to Write a program that performs some simple Datamining on a
> certain DataSet. I was told that an Identity Reducer should be written.
>
> public class Reduce extends MapReduceBase implements Reducer {
>
> public void reduce(Text key, Iterator<IntWritable>
> values,OutputCollector<Text, IntWritable> output,
>  Reporter reporter) throws IOException {
>
> ===>
> It shows me the following exception  ..
>
> "The type Reducer cannot be a superinterface of Reduce; a superinterface
> must be an interface "
> Can I have some pointers on solving this?
>
>
> --
> Hari
>

--
Best Regards

Jeff Zhang
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB