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

Tom White updated HADOOP-4698:
------------------------------

    Attachment: hadoop-4698.patch

Here's a stacktrace I get on Mac OS X (running against trunk revision 720464):

{code}
java.lang.OutOfMemoryError: Java heap space
        at 
org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:488)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:295)
        at 
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:138)
{code}

Following Matei's suggestion, setting the memory to 512 MB causes the tests 
(TestMapRed, TestReduceFetch, TestJobControl) to pass. The attached patch 
changes the default for running ant.

> TestMapRed fails with 64bit JDK
> -------------------------------
>
>                 Key: HADOOP-4698
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4698
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>    Affects Versions: 0.19.0
>            Reporter: Nigel Daley
>            Assignee: Nigel Daley
>             Fix For: 0.19.1
>
>         Attachments: hadoop-4698.patch, HADOOP-4698.patch
>
>
> 2 test cases in TestMapRed fail when run with 64bit JDK.  They both run out 
> of memory.  This is due to the default value of io.sort.mb being used (100mb).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to