Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 85012 invoked from network); 29 Aug 2008 06:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2008 06:47:46 -0000 Received: (qmail 39423 invoked by uid 500); 29 Aug 2008 06:47:39 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 39387 invoked by uid 500); 29 Aug 2008 06:47:39 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 39376 invoked by uid 99); 29 Aug 2008 06:47:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 23:47:39 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [202.137.233.110] (HELO rediff.co.in) (202.137.233.110) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 06:46:42 +0000 Received: (qmail 18217 invoked from network); 29 Aug 2008 12:16:29 +0530 Received: from unknown (HELO ilayarajalaptop) (ilayaraja@192.168.30.9) by mailserver with SMTP; 29 Aug 2008 06:46:29 -0000 Message-ID: <004801c909a4$462d4bf0$a60410ac@ilayarajalaptop> From: "P.ILAYARAJA" To: Subject: Problem in Map/Reduce Date: Fri, 29 Aug 2008 12:25:51 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0045_01C909D2.5FD02B30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0045_01C909D2.5FD02B30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello: I wrote a simple Map/Reduce program. The ouput key of the Map function = is a user defined datum(class) with two member strings. The OutputKeyComparatorClass is set to this = datum class and the class=20 overrides the "compareTo" function.=20 The problem is the final MapOutput from reduce has the same "key" = occuring in more than one record. Any thougts on why this could happen? Also I see that the compareTo function never gets as input the pair of = "keys" that are same for comparison..... Regards, Ilay ------=_NextPart_000_0045_01C909D2.5FD02B30--