Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 5623 invoked from network); 23 Dec 2009 17:31:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Dec 2009 17:31:59 -0000 Received: (qmail 11110 invoked by uid 500); 23 Dec 2009 17:31:56 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 11011 invoked by uid 500); 23 Dec 2009 17:31:56 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 10993 invoked by uid 99); 23 Dec 2009 17:31:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 17:31:56 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.50] (HELO mail-pw0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 17:31:47 +0000 Received: by pwi20 with SMTP id 20so4926609pwi.29 for ; Wed, 23 Dec 2009 09:31:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.121.6 with SMTP id t6mr7063035wfc.166.1261589485225; Wed, 23 Dec 2009 09:31:25 -0800 (PST) In-Reply-To: <5D66A842901F8E41815AF6D27A28EC490A8E1ABD73@Mail-Ab02.rmg-ny.com> References: <5D66A842901F8E41815AF6D27A28EC490A8E0C597D@Mail-Ab02.rmg-ny.com> <5D66A842901F8E41815AF6D27A28EC490A8E0C5ACE@Mail-Ab02.rmg-ny.com> <5D66A842901F8E41815AF6D27A28EC490A8E1ABD73@Mail-Ab02.rmg-ny.com> From: Todd Lipcon Date: Wed, 23 Dec 2009 09:31:05 -0800 Message-ID: <45f85f70912230931o30db106cu546529c8f527a8f7@mail.gmail.com> Subject: Re: io.sort.mb configuration? To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001636e90c3d1e867e047b68b123 X-Virus-Checked: Checked by ClamAV on apache.org --001636e90c3d1e867e047b68b123 Content-Type: text/plain; charset=ISO-8859-1 Hi Mark, For what it's wroth, you're unlikely to see a big difference in performance unless you cut down the number of spills from >1 to 1, or >io.sort.factor to wrote: > Oh Cool Jeff, this is really helpful! > > I actually have been dealing with relatively *small* records (of about 500 > MB) and running very simple programs akin to wordcount so I will play around > with io.sort.record.percent and see what results I get. > > Thanks! > > -----Original Message----- > From: Jeff Hammerbacher [mailto:hammer@cloudera.com] > Sent: Tuesday, December 22, 2009 8:35 PM > To: common-user@hadoop.apache.org > Subject: Re: io.sort.mb configuration? > > Hey Mark, > > While you're grokking this aspect of MapReduce's configuration, you may > want > to check out https://issues.apache.org/jira/browse/MAPREDUCE-64, which is > on > its way into trunk right now. Chris Douglas from Yahoo! has posted a very > nice explanation of how buffers are managed during the shuffle and which > parameters affect the behavior. > > Regards, > Jeff > > On Tue, Dec 22, 2009 at 12:30 PM, Mark Vigeant < > mark.vigeant@riskmetrics.com > > wrote: > > > Thank you for the responses guys! > > > > First, to Patrick, I didn't set it in the code, though I will try it > > because that's a really good idea to set it there, so I shall play around > > with that. > > > > Long: I should have clarified, I am using 0.20.1, and so this is a bit > > different. I set the parameter in mapred-site.xml and for some reason > it's > > just not getting implemented. Thank you anyways, though! > > > > -Mark > > > > -----Original Message----- > > From: Long Van Nguyen Dinh [mailto:muntron@gmail.com] > > Sent: Tuesday, December 22, 2009 12:17 PM > > To: common-user@hadoop.apache.org > > Subject: Re: io.sort.mb configuration? > > > > Hadoop has a default file (hadoop-default.xml - version 19) for all > > configuration, don't change the values in that file (they won't be > > affected), copy the parameter to the file hadoop-site.xml where you > > set up the cluster and set the value you want there. > > > > Long Van > > > > On Tue, Dec 22, 2009 at 11:40 AM, Patrick Angeles > > wrote: > > > You can also set that param per-job. Maybe you called some code that > did > > > that behind the scenes? > > > > > > On Tue, Dec 22, 2009 at 11:10 AM, Mark Vigeant < > > mark.vigeant@riskmetrics.com > > >> wrote: > > > > > >> Hey Everyone- > > >> > > >> I've been playing around with Hadoop and Hbase for a while and I > noticed > > >> that when running a program to upload data into an HTable I saw the > > output: > > >> > > >> INFO mapred.MapTask: io.sort.mb = 100 > > >> > > >> Which is the default value, but in the mapred configuration on all > > machines > > >> in my cluster I set this value to 250. Could it be that my program is > > not > > >> accessing the configuration properly? Is that too large a value? Or is > > it > > >> most likely just a foolish syntax error on my part? > > >> > > >> Thank you very much, all input is appreciated. > > >> > > >> Mark Vigeant > > >> RiskMetrics Group, Inc. > > >> > > >> > > >> This email message and any attachments are for the sole use of the > > intended > > >> recipients and may contain proprietary and/or confidential information > > which > > >> may be privileged or otherwise protected from disclosure. Any > > unauthorized > > >> review, use, disclosure or distribution is prohibited. If you are not > an > > >> intended recipient, please contact the sender by reply email and > destroy > > the > > >> original message and any copies of the message as well as any > > attachments to > > >> the original message. > > >> > > > > > > > This email message and any attachments are for the sole use of the > intended > > recipients and may contain proprietary and/or confidential information > which > > may be privileged or otherwise protected from disclosure. Any > unauthorized > > review, use, disclosure or distribution is prohibited. If you are not an > > intended recipient, please contact the sender by reply email and destroy > the > > original message and any copies of the message as well as any attachments > to > > the original message. > > > > This email message and any attachments are for the sole use of the intended > recipients and may contain proprietary and/or confidential information which > may be privileged or otherwise protected from disclosure. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not an > intended recipient, please contact the sender by reply email and destroy the > original message and any copies of the message as well as any attachments to > the original message. > --001636e90c3d1e867e047b68b123--