Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 33159 invoked from network); 12 Mar 2009 21:40:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 21:40:45 -0000 Received: (qmail 56673 invoked by uid 500); 12 Mar 2009 21:40:38 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 56644 invoked by uid 500); 12 Mar 2009 21:40:38 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 56633 invoked by uid 99); 12 Mar 2009 21:40:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 14:40:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.86.168.183] (HELO mxout-08.mxes.net) (216.86.168.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 21:40:29 +0000 Received: from [192.168.10.122] (unknown [24.6.146.30]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AF5FCD0A80 for ; Thu, 12 Mar 2009 17:40:07 -0400 (EDT) Message-Id: <750FD559-D9E7-45E5-B9BC-6E395808314F@wensel.net> From: Chris K Wensel To: core-user@hadoop.apache.org In-Reply-To: <3ABF9EB3-1AC4-4D73-A4FE-C1920699D28A@wensel.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Reducers spawned when mapred.reduce.tasks=0 Date: Thu, 12 Mar 2009 14:40:05 -0700 References: <3ABF9EB3-1AC4-4D73-A4FE-C1920699D28A@wensel.net> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org May have found the answer, waiting on confirmation from users. Turns out 0.19.0 and .1 instantiate the reducer class when the task is actually intended for job/task cleanup. branch-0.19 looks like it resolves this issue by not instantiating the reducer class in this case. I've got a workaround in the next maint release: http://github.com/cwensel/cascading/tree/wip-1.0.5 ckw On Mar 12, 2009, at 10:12 AM, Chris K Wensel wrote: > Hey all > > Have some users reporting intermittent spawning of Reducers when the > job.xml shows mapred.reduce.tasks=0 in 0.19.0 and .1. > > This is also confirmed when jobConf is queried in the (supposedly > ignored) Reducer implementation. > > In general this issue would likely go unnoticed since the default > reducer is IdentityReducer. > > but since it should be ignored in the Mapper only case, we don't > bother not setting the value, and subsequently comes to ones > attention rather abruptly. > > am happy to open a JIRA, but wanted to see if anyone else is > experiencing this issue. > > note the issue seems to manifest with or without spec exec. > > ckw > > -- > Chris K Wensel > chris@wensel.net > http://www.cascading.org/ > http://www.scaleunlimited.com/ > -- Chris K Wensel chris@wensel.net http://www.cascading.org/ http://www.scaleunlimited.com/