Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 50634 invoked from network); 25 Nov 2009 21:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 21:59:02 -0000 Received: (qmail 49263 invoked by uid 500); 25 Nov 2009 21:59:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 49190 invoked by uid 500); 25 Nov 2009 21:59:02 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 49169 invoked by uid 99); 25 Nov 2009 21:59:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 21:59:02 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 25 Nov 2009 21:59:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CDEDD234C4AA for ; Wed, 25 Nov 2009 13:58:39 -0800 (PST) Message-ID: <423693086.1259186319842.JavaMail.jira@brutus> Date: Wed, 25 Nov 2009 21:58:39 +0000 (UTC) From: "Chris Douglas (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1182) Reducers fail with OutOfMemoryError while copying Map outputs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782643#action_12782643 ] Chris Douglas commented on MAPREDUCE-1182: ------------------------------------------ Thanks to Amareshwari for testing this at scale > Reducers fail with OutOfMemoryError while copying Map outputs > ------------------------------------------------------------- > > Key: MAPREDUCE-1182 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1182 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Chandra Prakash Bhagtani > Assignee: Chandra Prakash Bhagtani > Priority: Blocker > Fix For: 0.20.2 > > Attachments: HADOOP-6357.patch, M1182-0.patch, M1182-0v20.patch, M1182-1.patch, M1182-1v20.patch > > > Reducers fail while copying Map outputs with following exception > java.lang.OutOfMemoryError: Java heap space at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.shuffleInMemory(ReduceTask.java:1539) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getMapOutput(ReduceTask.java:1432) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.copyOutput(ReduceTask.java:1285) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:1216) ,Error: > Reducer's memory usage keeps on increasing and ultimately exceeds -Xmx value > I even tried with -Xmx6.5g to each reducer but it's still failing > While looking into the reducer logs, I found that reducers were doing shuffleInMemory every time, rather than doing shuffleOnDisk -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.