Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 32271 invoked from network); 12 Feb 2010 01:20:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 01:20:10 -0000 Received: (qmail 25604 invoked by uid 500); 12 Feb 2010 01:20:07 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 25514 invoked by uid 500); 12 Feb 2010 01:20:07 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 25504 invoked by uid 99); 12 Feb 2010 01:20:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 01:20:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zjffdu@gmail.com designates 209.85.222.175 as permitted sender) Received: from [209.85.222.175] (HELO mail-pz0-f175.google.com) (209.85.222.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 01:20:00 +0000 Received: by pzk5 with SMTP id 5so3206710pzk.29 for ; Thu, 11 Feb 2010 17:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=RDJRrsr/MzZ/EgybSqG2u2nk89+Pn/exXjuOpiDeaUw=; b=Byr/pPuC3iV7zsMJGIVEyktwxud7cHDgVVu6N84SXSm6OXDoy4aFMbH3ay6V73l4tL sr488WHu3i8YeZzgOCd6XZuLO0x9sJiJua8l4WlvIkAWg9YC9dhK16qqAYKIOd8/p2Z2 ibprmu6WhIcyQIf5YGc1HTL3/yY2b1ZFEFOyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mJgenazEkKmufE/MHpGHl9Q3zsIvTrAcEbh4JdY9S7wyEVhrgBwtWQllozQv/yNQFz v5wk6Jpt5e282nV7UO4PBtLGFoYS4hFNTie57VuU/7GZPt5eyzw8TIHndn4NxxgG5bQH mVxRjgr1pblLYDz95HfL8MrHN9dVJrcZ4I+bI= MIME-Version: 1.0 Received: by 10.142.60.10 with SMTP id i10mr452192wfa.46.1265937578082; Thu, 11 Feb 2010 17:19:38 -0800 (PST) In-Reply-To: <89301b8a1002111710o3e63b7d0m3e9ec3e94e19fd48@mail.gmail.com> References: <89301b8a1002111710o3e63b7d0m3e9ec3e94e19fd48@mail.gmail.com> Date: Thu, 11 Feb 2010 17:19:38 -0800 Message-ID: <8211a1321002111719h16f04989w7abe02b03fe3b35a@mail.gmail.com> Subject: Re: Identity Reducer From: Jeff Zhang To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=00504502af15a641d5047f5d0f16 --00504502af15a641d5047f5d0f16 Content-Type: text/plain; charset=UTF-8 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 < dragonzsnake@gmail.com> 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 > values,OutputCollector 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 --00504502af15a641d5047f5d0f16--