Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 EFE1810BA0 for ; Wed, 25 Sep 2013 22:44:23 +0000 (UTC) Received: (qmail 26280 invoked by uid 500); 25 Sep 2013 22:44:19 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 26152 invoked by uid 500); 25 Sep 2013 22:44:15 -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 26144 invoked by uid 99); 25 Sep 2013 22:44:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 22:44:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shahab.yunus@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bk0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 22:44:11 +0000 Received: by mail-bk0-f48.google.com with SMTP id my13so122064bkb.7 for ; Wed, 25 Sep 2013 15:43:50 -0700 (PDT) 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=6nwZnqOQ8FGqXtiqGoySUEn2DoXiGwo5lTNJUFe7sOA=; b=Q6ohmDhOq/ZzG8HN/EChYEzh5zAXgm7m2Ty0DyWIQ/h4TQHqMh8yULPWNoUbkZlEuA KD/DO8r3BTK0bW44wFbWp5fB2xiXEkXuZBet8/nDcbNjH3MluwSSRpV98PcbcvPGlm/r m3TjV1v6xtaLtUwyH0fEKw0de9mrhr+2vIOugL5wrcwww9CjNNhsEU79IpYoYa6SXvTX 3MmtwoKggjIp4ih7sIwrl18RUZAeoBxeGFb6yq96L4gW76dWNJN/yFmndIIQMPTy/gx0 eeoS/Oui8Q4Z91oPFgtZBtD9CPrHVJ5E8QXcUvL3G/zDjYg57XjGNGUDgqEVGmMIMinN yVWQ== MIME-Version: 1.0 X-Received: by 10.204.60.66 with SMTP id o2mr30251932bkh.22.1380149030250; Wed, 25 Sep 2013 15:43:50 -0700 (PDT) Received: by 10.204.238.131 with HTTP; Wed, 25 Sep 2013 15:43:50 -0700 (PDT) In-Reply-To: <52436110.1000207@gmail.com> References: <52435D1C.1090008@gmail.com> <52436110.1000207@gmail.com> Date: Wed, 25 Sep 2013 18:43:50 -0400 Message-ID: Subject: Re: set the number of reduce tasks in the wordcount by command line From: Shahab Yunus To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11c376fcafaba204e73cfc4d X-Virus-Checked: Checked by ClamAV on apache.org --001a11c376fcafaba204e73cfc4d Content-Type: text/plain; charset=ISO-8859-1 See an example here: http://www.crobak.org/2011/12/getting-started-with-apache-hadoop-0-23-0/ For the 'pi' program. Basically you will specify it through the command line interface. On Wed, Sep 25, 2013 at 6:17 PM, xeon wrote: > In yarn 2.0.5, where I set this? > > On 09/25/2013 11:16 PM, Shahab Yunus wrote: > > Have you tried setting *mapred.reduce.tasks *property? > > Regards, > Shahab > > > On Wed, Sep 25, 2013 at 6:01 PM, xeon wrote: > >> is it possible to set the number of reduce tasks in the wordcount example >> when I launch the job by command line? >> >> Thanks >> > > > --001a11c376fcafaba204e73cfc4d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
See an example here:

For the 'pi' program. Basically you will specify it through th= e command line interface.


On Wed, Sep 25, 2013 at 6:17 PM, xeon <xeo= nmailinglist@gmail.com> wrote:
=20 =20 =20
In yarn 2.0.5, where I set this?

On 09/25/2013 11:16 PM, Shahab Yunus wrote:
Have you tried setting=A0mapred.reduce.tasks=A0property?

Regards,
Shahab


On Wed, Sep 25, 2013 at 6:01 PM, xeon <xeonmailinglist@gmail.com> wrote:
is it possible to set the number of reduce tasks in the wordcount example when I launch the job by command line?

Thanks



--001a11c376fcafaba204e73cfc4d--