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 CD4E47F29 for ; Sat, 22 Oct 2011 05:23:08 +0000 (UTC) Received: (qmail 79866 invoked by uid 500); 22 Oct 2011 05:23:07 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 79819 invoked by uid 500); 22 Oct 2011 05:23:07 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 79810 invoked by uid 99); 22 Oct 2011 05:23:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 05:23:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mapred.learn@gmail.com designates 209.85.213.48 as permitted sender) Received: from [209.85.213.48] (HELO mail-yw0-f48.google.com) (209.85.213.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 05:22:59 +0000 Received: by ywm14 with SMTP id 14so1710233ywm.35 for ; Fri, 21 Oct 2011 22:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=sranaPPUSMWo/n7+y+RtqzUzL1TWdRvDmIXB2pM9Teo=; b=twmcajdqp02HM+ruv48MfCFmq+JV+DcVyvT2sM9+kU333Dqu8r+nUYOzth0gcCd7X0 ROL9tQQCchteBLSs5kErQ68r1C0KABQzv4KN5HYrOfjOA56gCSTa/5MyzRjViQ6f84Ce 2YCu4m57Ue8wTlv62k7gLx5NEteNGPw7jyxAo= Received: by 10.68.72.104 with SMTP id c8mr4458039pbv.34.1319260958431; Fri, 21 Oct 2011 22:22:38 -0700 (PDT) Received: from [10.108.199.89] ([166.205.137.53]) by mx.google.com with ESMTPS id v8sm38095776pbf.8.2011.10.21.22.22.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Oct 2011 22:22:37 -0700 (PDT) References: <173778479550729024@unknownmsgid> <13F54E3A-149F-4FED-91EF-6DA1ED1A8F40@gmail.com> <08D2EC68-F4F1-4E75-8BA4-5E281ACC14EA@cloudera.com> In-Reply-To: <08D2EC68-F4F1-4E75-8BA4-5E281ACC14EA@cloudera.com> Mime-Version: 1.0 (iPhone Mail 8F190) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <8C55A5B7-5988-4A6F-9CAD-82107F808498@gmail.com> Cc: "mapreduce-user@hadoop.apache.org" X-Mailer: iPhone Mail (8F190) From: Mapred Learn Subject: Re: Streaming jar creates only 1 reducer Date: Fri, 21 Oct 2011 22:22:28 -0700 To: "mapreduce-user@hadoop.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org Thanks Harsh ! This is exactly what I thought ! And don't know what you mean by cross-post ? I just posted to mapred and HDFS= mailing lists ? What's your point about cross-pointing ?? Sent from my iPhone On Oct 21, 2011, at 8:57 PM, Harsh J wrote: > Mapred, >=20 > You need to pass -Dmapred.reduce.tasks=3DN along. Reducers are a per-job c= onfigurable number, unlike mappers whose numbers can be determined based on i= nputs. >=20 > P.s. Please do not cross post questions to multiple lists. >=20 > On 22-Oct-2011, at 4:05 AM, Mapred Learn wrote: >=20 >> Do you know what parameters from conf files ? >>=20 >> Thanks, >>=20 >> Sent from my iPhone >>=20 >> On Oct 21, 2011, at 3:32 PM, Nick Jones wrote: >>=20 >>> FWIW, I usually specify the number of reducers in both streaming and >>> against the Java API. The "default" is what's read from your config >>> files on the submitting node. >>>=20 >>> Nick Jones >>>=20 >>> On Oct 21, 2011, at 5:00 PM, Mapred Learn wrote= : >>>=20 >>>> Hi, >>>> Does streaming jar create 1 reducer by default ? We have reduce tasks p= er task tracker configured to be more than 1 but my job has about 150 mapper= s and only 1 reducer: >>>>=20 >>>> reducer.py basically just reads the line and prints it. >>>>=20 >>>> Why doesn't streaming.jar invokes multiple reducers for this case ? >>>>=20 >>>> Thanks, >>>> -JJ >>>>=20 >>>>=20 >=20