From common-issues-return-3120-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Tue Nov 03 10:14:23 2009 Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 87632 invoked from network); 3 Nov 2009 10:14:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 10:14:23 -0000 Received: (qmail 74902 invoked by uid 500); 3 Nov 2009 10:14:23 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 74831 invoked by uid 500); 3 Nov 2009 10:14:23 -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 74821 invoked by uid 99); 3 Nov 2009 10:14:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 10:14:22 +0000 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, 03 Nov 2009 10:14:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9FFCD234C4A8 for ; Tue, 3 Nov 2009 02:13:59 -0800 (PST) Message-ID: <311218419.1257243239653.JavaMail.jira@brutus> Date: Tue, 3 Nov 2009 10:13:59 +0000 (UTC) From: "Chandra Prakash Bhagtani (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772999#action_12772999 ] Chandra Prakash Bhagtani commented on HADOOP-6357: -------------------------------------------------- I ran the job with CDH2 (hadoop 0.20.1+133) > 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 > > 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.