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 912DBDCCB for ; Wed, 23 Jan 2013 10:35:21 +0000 (UTC) Received: (qmail 47722 invoked by uid 500); 23 Jan 2013 10:35:17 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 46941 invoked by uid 500); 23 Jan 2013 10:35:16 -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 46897 invoked by uid 99); 23 Jan 2013 10:35:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 10:35:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Ajay.Srivastava@guavus.com designates 204.232.241.167 as permitted sender) Received: from [204.232.241.167] (HELO mx1.guavus.com) (204.232.241.167) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 10:35:07 +0000 Received: from mx1.guavus.com ([204.232.241.167]) by mx1.guavus.com ([204.232.241.167]) with mapi id 14.01.0379.000; Wed, 23 Jan 2013 02:34:45 -0800 From: Ajay Srivastava To: "user@hadoop.apache.org" Subject: Spilled records Thread-Topic: Spilled records Thread-Index: AQHN+VVCqD0SsP6hWUy6RekbS9SBug== Date: Wed, 23 Jan 2013 10:34:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [61.12.3.122] Content-Type: text/plain; charset="us-ascii" Content-ID: <39A55E788595ED4895DB2B7C76CAE182@guavus.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I was tuning mapred job to reduce number of spills and reached a stage wher= e following numbers are same - Spilled Records in map =3D Spilled records in reduce =3D Combine output Rec= ords =3D Reduce Input Records I do not see any lines in mapper logs with following strings - 1. Spilling map output: record full 2. Spilling map output: buffer full Only these strings - 1. Finished spill 0 ( Note 0 at the end ) I am confused and can someone please explain what's going on ? 1. Though neither buffer nor record got full yet there are spills ? Is it t= hat mapper writing records at the end to be consumed by reducer that's why = I see these spills ? 2. Why is combiner running if there were no spills ? If my guess is correct= in point 1 then, will combiner not run if number of mappers < min.num.spil= ls.for.combine ? 3. Why spills are counted in reducer stats ? 4. Is there way that I can tell mapper not to write final output to disk an= d reducers fetch the data from mapper's main memory ? Regards, Ajay Srivastava =