Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 55054 invoked from network); 17 Apr 2007 12:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2007 12:28:37 -0000 Received: (qmail 36706 invoked by uid 500); 17 Apr 2007 12:28:42 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 36681 invoked by uid 500); 17 Apr 2007 12:28:42 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 36672 invoked by uid 99); 17 Apr 2007 12:28:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 05:28:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 05:28:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8FD46714068 for ; Tue, 17 Apr 2007 05:28:15 -0700 (PDT) Message-ID: <12626885.1176812895586.JavaMail.jira@brutus> Date: Tue, 17 Apr 2007 05:28:15 -0700 (PDT) From: "Tom White (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1264) OutOfMemoryError while running sort example In-Reply-To: <32605215.1176812775521.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489383 ] Tom White commented on HADOOP-1264: ----------------------------------- I'm sorting data generated using random writer, like so bin/hadoop jar hadoop-0.12.3-examples.jar randomwriter rand bin/hadoop jar hadoop-0.12.3-examples.jar sort rand rand-sort. Most of the maps succeed, but a few always fail with the above exception. > OutOfMemoryError while running sort example > ------------------------------------------- > > Key: HADOOP-1264 > URL: https://issues.apache.org/jira/browse/HADOOP-1264 > Project: Hadoop > Issue Type: Bug > Components: examples, mapred > Affects Versions: 0.12.3 > Environment: Java 1.6.0_01, EC2 cluster with one slave (Linux domU-12-31-33-00-02-5A 2.6.16-xenU #1 SMP Thu Nov 30 13:48:50 SAST 2006 i686 athlon i386 GNU/Linux) > Reporter: Tom White > > The problem is reproducible, and I get this stacktrace: > java.io.IOException: Job failed! > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:604) > at org.apache.hadoop.examples.Sort.main(Sort.java:115) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71) > at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:143) > at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:40) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:155) > java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Arrays.java:2786) > at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94) > at java.io.DataOutputStream.write(DataOutputStream.java:90) > at org.apache.hadoop.io.BytesWritable.write(BytesWritable.java:138) > at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:318) > at org.apache.hadoop.mapred.lib.IdentityMapper.map(IdentityMapper.java:39) > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:48) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:175) > at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1445) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.