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 864B0118F8 for ; Fri, 16 May 2014 19:13:03 +0000 (UTC) Received: (qmail 9148 invoked by uid 500); 16 May 2014 18:38:27 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 56290 invoked by uid 500); 16 May 2014 18:13:32 -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 36103 invoked by uid 99); 16 May 2014 17:54:25 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 17:54:25 +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 (nike.apache.org: domain of sudhakara.st@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-ob0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 17:45:54 +0000 Received: by mail-ob0-f182.google.com with SMTP id wn1so3317170obc.13 for ; Fri, 16 May 2014 10:45:30 -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=9eQbusbDaqkUPLR6ZxREBMEtabIyKGDvTJZOM9DIwQw=; b=QixCrsy5jYP0LvUQE6A/lR30CqxBret3uDOxXQm7PCvsjy81BaCgk9aa7VEdYeRCnu +IgkChyAzT0ArDizn9sbn+SbRYOQ0XYp+w1UeV1QIM9y/6P00LVawZFJeWnzUyihIflA sITv9xhfnsX3cMNVvEvwd5jF7ImqhyPKwis7Z6eTw4vSrkpgPO3y9Qn2BJYmqeTuaMCS yrJ7tEFrZcOJaP9sPo2cJdKXSQ++Xtj0jP7tbHyPRSnV5Bka+DGo9HlivMFukbsf2bal 872ZfRS3koVNu9OlLcLnUqXptQaK7uq/zvJowWegr9Ex2gA9UhP8mqmsAe1Tkg/K/InL mOiQ== MIME-Version: 1.0 X-Received: by 10.60.94.75 with SMTP id da11mr18610017oeb.43.1400262330369; Fri, 16 May 2014 10:45:30 -0700 (PDT) Received: by 10.76.0.50 with HTTP; Fri, 16 May 2014 10:45:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 May 2014 23:15:30 +0530 Message-ID: Subject: Re: the default value for param "mapreduce.reduce.shuffle.input.buffer.percent" From: sudhakara st To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e011603f4cb4d3b04f987fa41 X-Virus-Checked: Checked by ClamAV on apache.org --089e011603f4cb4d3b04f987fa41 Content-Type: text/plain; charset=UTF-8 "mapreduce.reduce.shuffle.input.buffer.percent" paramenter value is going go sets by reading the mapred-site.xml, if you not specified value in mapred-site.xml it reads value from mapred-default.xml. Its value in mapred-default.xml is 0.7. So default value is 0.7. For various reason mapreduce.reduce.shuffle.input.buffer.percent is null then it will reads hard coded value from the fuction MergeManagerImpl.java as 0.9. I think this case never arises, MR always set parameters values by reading mapred-default.xml. Regards, Sudhakara On Fri, May 16, 2014 at 8:45 AM, wzc wrote: > Hi, > I find the defualt value for > "mapreduce.reduce.shuffle.input.buffer.percent" is 0.7 > in mapred-default.xml but 0.9 in MergeManagerImpl.java. I wonder which > default value should I choose ? I think 0.9 maybe too high ? > Any help is appreciated. > > Thanks. > > -- Regards, ...sudhakara --089e011603f4cb4d3b04f987fa41 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
"mapreduce.reduce.shuffle.input.buffer.perc= ent"=C2=A0 paramenter value is going go sets by reading the mapred-sit= e.xml, if you not specified value in mapred-site.xml it reads value from ma= pred-default.xml. Its value in mapred-default.xml is 0.7. So default value = is 0.7. For various reason mapreduce.reduce.shuffle.input.buffer.percent is= null then it will reads hard coded value from the fuction MergeManagerImp= l.java as 0.9. I think this case never arises, MR always set parameters val= ues by reading mapred-default.xml.

Regards,
Sudhakara
<= br>
On Fri, May 16, 2014 at 8:45 AM, wzc <wz= c1989@gmail.com> wrote:
Hi,
=C2=A0 =C2=A0I find= the defualt value for "mapreduce.reduce.shuffle.input.buffer.percent&= quot; is 0.7 in=C2=A0mapred-default.xml but =C2=A00.9 in MergeManagerImpl.j= ava. I wonder which default value should I choose ? I think 0.9 maybe too h= igh ?
Any help is appreciated.

Thanks.




--
=C2=A0= =C2=A0 =C2=A0=C2=A0
Regards,
<= span style=3D"color:rgb(255,0,255)">...sudhakara

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0=C2=A0
--089e011603f4cb4d3b04f987fa41--