Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D22CEE957 for ; Sun, 23 Dec 2012 15:10:30 +0000 (UTC) Received: (qmail 78093 invoked by uid 500); 23 Dec 2012 15:10:26 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 77941 invoked by uid 500); 23 Dec 2012 15:10:26 -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 77930 invoked by uid 99); 23 Dec 2012 15:10:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Dec 2012 15:10:25 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of linlma@gmail.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Dec 2012 15:10:20 +0000 Received: by mail-vc0-f179.google.com with SMTP id p1so6696854vcq.38 for ; Sun, 23 Dec 2012 07:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nV4U/RN4kCumlP+fMPvcDP8aiFOVMifBXd0nN5vfPqU=; b=jteiXcmCfCEHAmwGdPbmvAp06K/q2uFYNAniHV+rwHTXr+XOVnSxxkICZTMhKibkZ2 FAyhapigIJsyovcXmLWUX4KhQY6kGYxs1sfhMklBzm9nKEr7pD94saKW3/DzmmrWZLvd AmhrR3RD/ikTEKLQ0CxJBOmKCuTLF5WXi5wR+5iVKQBVKYmMlG+mf6u9xZfhWSB/1dfa FB8muwSoicHsWZ6eX3T00yww1Jz4H1JhNWqKmHQZXKoU4KcSP7CN4Le1w9lbdUWRKV8E Zz31fxmdBZ1uI0H/hur4nwHuPcayZz5SCv4QYhRt0jk4VySKp5jP+Soq9p/TQsUJXE9y r6zg== MIME-Version: 1.0 Received: by 10.52.34.19 with SMTP id v19mr25622856vdi.128.1356275399932; Sun, 23 Dec 2012 07:09:59 -0800 (PST) Received: by 10.58.68.135 with HTTP; Sun, 23 Dec 2012 07:09:59 -0800 (PST) In-Reply-To: References: Date: Sun, 23 Dec 2012 23:09:59 +0800 Message-ID: Subject: Re: reducer tasks start time issue From: Lin Ma To: user@hadoop.apache.org, rishi@infoobjects.com Content-Type: multipart/alternative; boundary=20cf307cfd026e397204d186797c X-Virus-Checked: Checked by ClamAV on apache.org --20cf307cfd026e397204d186797c Content-Type: text/plain; charset=ISO-8859-1 Thanks Rishi, My question is answered. regards, Lin On Sun, Dec 23, 2012 at 12:09 AM, Rishi Yadav wrote: > Hi Lin, > > Reduce task starts as soon as output is ready from Mappers. The reduce > method does not get called until all Mappers are done. If that's not the > case, all operations which are not commutative and associative will yield > incorrect result. > > > > Thanks and Regards, > > Rishi Yadav > > (o) 408.988.2000x113 || (f) 408.716.2726 > > InfoObjects Inc || http://www.infoobjects.com *(Big Data Solutions)* > > *INC 500 Fastest growing company in 2012 || 2011* > > *Best Place to work in Bay Area 2012 - *SF Business Times and the Silicon > Valley / San Jose Business Journal > > 2041 Mission College Boulevard, #280 || Santa Clara, CA 95054 > > > > > On Sat, Dec 22, 2012 at 5:25 AM, Lin Ma wrote: > >> Hi guys, >> >> Supposing in a Hadoop job, there are both mappers and reducers. My >> question is, reducer tasks cannot begin until all mapper tasks complete? If >> so, why designed in this way? >> >> thanks in advance, >> Lin >> > > --20cf307cfd026e397204d186797c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Rishi,

My question is answered.

regards,
Lin
On Sun, Dec 23, 2012 at 12:09 AM, Rishi Yadav <= span dir=3D"ltr"><rishi@infoobjects.com> wrote:
Hi Lin,

= Reduce task starts as soon as output is ready from Mappers. The reduce meth= od does not get called until all Mappers are done. If that's not the ca= se, all operations which are not commutative and associative will yield inc= orrect result.=A0



Thanks and Regards,

Rishi= Yadav

(o) 408.988.2000x113 || =A0(f) 408.716.2726

InfoObjects= Inc ||=A0http://= www.infoobjects.com=A0(Big Data Solutions)

INC 500 Fastest gro= wing company in 2012 || 2011

Be= st Place to work in Bay Area 2012 -=A0SF Business Times and th= e Silicon Valley / San Jose Business Journal

2041 Mission College Boulevard, #280 ||=A0Santa Clara, CA 95054= =A0




On Sat, Dec 22, 2012 at 5:25 AM, Lin Ma = <linlma@gmail.com> wrote:
Hi guys,

Supposing in a Hadoop job, there are both mappers and reduc= ers. My question is, reducer tasks cannot begin until all mapper tasks comp= lete? If so, why designed in this way?

thanks in advance,
Lin


--20cf307cfd026e397204d186797c--