Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 49703 invoked from network); 25 Nov 2008 04:45:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Nov 2008 04:45:44 -0000 Received: (qmail 98527 invoked by uid 500); 25 Nov 2008 04:45:48 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 98494 invoked by uid 500); 25 Nov 2008 04:45:48 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 98483 invoked by uid 99); 25 Nov 2008 04:45:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 20:45:48 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 04:44:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 395BF234C29A for ; Mon, 24 Nov 2008 20:44:47 -0800 (PST) Message-ID: <173136158.1227588287233.JavaMail.jira@brutus> Date: Mon, 24 Nov 2008 20:44:47 -0800 (PST) From: "Ravi Gummadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2774) Add counters to show number of key/values that have been sorted and merged in the maps and reduces In-Reply-To: <2132140.1201939988789.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2774?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D126= 50457#action_12650457 ]=20 Ravi Gummadi commented on HADOOP-2774: -------------------------------------- The wordcount example works with mapred.job.shuffle.buffer.percent=3D0 also= (No need of that small +ve value) even without LocalJobRunner. So removing = setting mapred.child.java.opts. Since this testcase uses LocalJobRunner, re= moved the setting of mapred.job.shuffle.buffer.percent. OK. Setting io.sort.record.percent and io.sort.spill.percent to the default= values in the testcase. OK. Now the testcase removes the testdir(and not each file separately). Rem= oves the testdir even in the case of failure. Just didn't want to change all the calls to constructors of IFile.Reader an= d IFile.Writer in all files to have this extra parameter(null in most cases= ). So added new constructors. OK. Added "{ }" for the if statements. Map First Level Spills: Runping wanted this for [ Show =C2=BB ] Runping Qi - 27/Oct/08 11:32 AM it tells me how effective i= s the spill thread. It also gives me some hint as to how to optimize my hea= psite/sort.mb setting. > Add counters to show number of key/values that have been sorted and merge= d in the maps and reduces > -------------------------------------------------------------------------= ------------------------- > > Key: HADOOP-2774 > URL: https://issues.apache.org/jira/browse/HADOOP-2774 > Project: Hadoop Core > Issue Type: Bug > Reporter: Owen O'Malley > Assignee: Ravi Gummadi > Fix For: 0.20.0 > > Attachments: HADOOP-2774.patch, HADOOP-2774.patch, HADOOP-2774.pa= tch, HADOOP-2774.patch > > > For each *pass* of the sort and merge, I would like a count of the number= of records. So for example, if the map output 100 records and they were so= rted once, the counter would be 100. If it spilled twice and was merged tog= ether, it would be 200. Clearly in a multi-level merge, it may not be a mul= tiple of the number of map output records. This would let the users easily = see if they have values like io.sort.mb or io.sort.factor set too low. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.