Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 97732 invoked from network); 3 Nov 2009 10:26:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 10:26:22 -0000 Received: (qmail 92863 invoked by uid 500); 3 Nov 2009 10:26:22 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 92780 invoked by uid 500); 3 Nov 2009 10:26:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 92770 invoked by uid 99); 3 Nov 2009 10:26:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 10:26:21 +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; Tue, 03 Nov 2009 10:26:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 65C85234C052 for ; Tue, 3 Nov 2009 02:25:59 -0800 (PST) Message-ID: <704357041.1257243959401.JavaMail.jira@brutus> Date: Tue, 3 Nov 2009 10:25:59 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6357) Reducers fail with OutOfMemoryError while copying Map outputs In-Reply-To: <901610937.1257242879413.JavaMail.jira@brutus> 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/HADOOP-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773005#action_12773005 ] Amareshwari Sriramadasu commented on HADOOP-6357: ------------------------------------------------- Sorry, didn't see you previous comment. Please ignore my last comment. > Reducers fail with OutOfMemoryError while copying Map outputs > ------------------------------------------------------------- > > Key: HADOOP-6357 > URL: https://issues.apache.org/jira/browse/HADOOP-6357 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.20.0 > Reporter: Chandra Prakash Bhagtani > Fix For: 0.20.0 > > > 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.