hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-1264) OutOfMemoryError while running sort example
Date Thu, 19 Apr 2007 20:59:15 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tom White resolved HADOOP-1264.
-------------------------------

    Resolution: Fixed

Setting mapred.child.java.opts to -Xmx512m resulted in no failures. Thanks Devaraj!

> 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.


Mime
View raw message