Skip to content

get "java.lang.OutOfMemoryError: Java heap space" when running query Square and House on Friendster #2

Description

@guowentian

Hi, I run SEED in a cluster of 40 machines, each with 32GB memory. I find that when I run Square and House pattern on Friendster, some errors occur due to insufficient memory.
The following is a snapshot of the complaining errors.
At first time, I try to set the mapper memory and reducer memory to be 2048M and 4096M, while mapreduce.map.java.opts and mapreduce.reduce.java.opts are set to be 1638M and 3276M.
In the second time, I try to set the mapper memory and reducer memory to be 12G and 24G, while mapreduce.map.java.opts and mapreduce.reduce.java.opts are set to be 9G and 19G.
But I fail both times.
Any suggestion ??

Error: org.apache.hadoop.mapreduce.task.reduce.Shuffle$ShuffleError: error in shuffle in fetcher#1
at org.apache.hadoop.mapreduce.task.reduce.Shuffle.run(Shuffle.java:134)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:376)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:421)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1754)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.apache.hadoop.io.BoundedByteArrayOutputStream.(BoundedByteArrayOutputStream.java:56)
at org.apache.hadoop.io.BoundedByteArrayOutputStream.(BoundedByteArrayOutputStream.java:46)
at org.apache.hadoop.mapreduce.task.reduce.InMemoryMapOutput.(InMemoryMapOutput.java:63)
at org.apache.hadoop.mapreduce.task.reduce.MergeManagerImpl.unconditionalReserve(MergeManagerImpl.java:309)
at org.apache.hadoop.mapreduce.task.reduce.MergeManagerImpl.reserve(MergeManagerImpl.java:299)
at org.apache.hadoop.mapreduce.task.reduce.Fetcher.copyMapOutput(Fetcher.java:511)
at org.apache.hadoop.mapreduce.task.reduce.Fetcher.copyFromHost(Fetcher.java:333)
at org.apache.hadoop.mapreduce.task.reduce.Fetcher.run(Fetcher.java:193)
.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions