Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 359CAF519 for ; Thu, 21 Mar 2013 07:07:27 +0000 (UTC) Received: (qmail 71194 invoked by uid 500); 21 Mar 2013 07:07:22 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 70562 invoked by uid 500); 21 Mar 2013 07:07:21 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 70542 invoked by uid 99); 21 Mar 2013 07:07:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 07:07:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 07:07:17 +0000 Received: by mail-oa0-f42.google.com with SMTP id i18so2778829oag.1 for ; Thu, 21 Mar 2013 00:06:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=XWZVbEcg5Q+hSwmAR+RYnEs9In4d2GJmkT1oumQr0pY=; b=bgxF/RQ/3MKh+NXTF35gBbo7yYJWLCq/+teRckKyxi7xrGi9h/SL2NeAd/ydmWBx05 tCB5RE/1JmYohnXKpH0/ESDDmxp/fZYlvURjSolvlPoEtfrGVIqmvBnVp0WUmOqVitfl rIA0rpLpIRmPPD7z1uoE8qNbQOTC40vBQjRuMzTowHjhHZ38Y1wSoPczHz4tVyXs+SEg 8gwOgI+yjbuEHrbI8fare2j1Z2kTnsyO6HRHjds4E0IipO3B6VuKUWCdPfB97dfeyUIq kjbEQ+mdvn2Ng8dneLG1SY3W1MC5ZKhAZtPhXtAsTKB7wSbJv+sRQD0qRbZUKWv/nvHG QseA== MIME-Version: 1.0 X-Received: by 10.60.12.41 with SMTP id v9mr6017761oeb.75.1363849616537; Thu, 21 Mar 2013 00:06:56 -0700 (PDT) Received: by 10.60.25.6 with HTTP; Thu, 21 Mar 2013 00:06:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Mar 2013 11:06:56 +0400 Message-ID: Subject: Re: Combiner in Secondary Sort From: Fatih Haltas To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=e89a8ff255d4ebccb404d869fbd8 X-Gm-Message-State: ALoCoQmdJGq40tyAahJYuwkDTBF/2D4IXCxTJr3yZ5TAwsYNHpYm6Wush2ZTKD441AcmXgYPpr2Q X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff255d4ebccb404d869fbd8 Content-Type: text/plain; charset=ISO-8859-1 Thanks very much Harsh On Thu, Mar 21, 2013 at 4:50 AM, Harsh J wrote: > You're probably running into > https://issues.apache.org/jira/browse/MAPREDUCE-3310. There was also a > discussion on this IIRC but I cannot find the archive now. One aside > mention on this from Chris is at > http://search-hadoop.com/m/RH5AP11ob2o1. > > On Wed, Mar 20, 2013 at 6:10 PM, Fatih Haltas > wrote: > > Hi Everyone, > > > > I am trying to implement Secondary Sort Algorithm on mydata. But I am > having > > a trouble with my Combiner. > > > > When I donot use Combiner, grouping is done well, I mean one reduce task > is > > running for every pair, sharing the same first element. > > > > However, when I set Combiner as Reducer class itself, grouping in the > > Combiner is not done according to my custom GroupingComparator class > though. > > > > How can i overrride Combiner class's grouping? > > Or, is there any diagram, showing the sequence of workflow(both in map > > phase, calls of mapper classes and calls of combiner classes and so on > > sequentially) in more detailed? > > > > Thanks very much. > > > > -- > Harsh J > --e89a8ff255d4ebccb404d869fbd8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks very much Harsh

On Thu, Mar 21, 2013 at 4:50 AM, Harsh J <harsh@cloudera.com> wrote:
You're probably running into
https://issues.apache.org/jira/browse/MAPREDUCE-3310. There was= also a
discussion on this IIRC but I cannot find the archive now. One aside
mention on this from Chris is at
http:= //search-hadoop.com/m/RH5AP11ob2o1.

On Wed, Mar 20, 2013 at 6:10 PM, Fatih Haltas <fatih.haltas@nyu.edu> wrote:
> Hi Everyone,
>
> I am trying to implement Secondary Sort Algorithm on mydata. But I am = having
> a trouble with my Combiner.
>
> When I donot use Combiner, grouping is done well, I mean one reduce ta= sk is
> running for every pair, sharing the same first element.
>
> However, when I set Combiner as Reducer class itself, grouping in the<= br> > Combiner is not done according to my custom GroupingComparator class t= hough.
>
> How can i overrride Combiner class's grouping?
> Or, is there any diagram, showing the sequence of workflow(both in map=
> phase, calls of mapper classes and calls of combiner classes and so on=
> sequentially) in more detailed?
>
> Thanks very much.



--
Harsh J

--e89a8ff255d4ebccb404d869fbd8--