I am facing https://issues.apache.org/jira/browse/WHIRR-146 in 0.7.0
Using CDH

I am debugging an OOME issue with one of the Map tasks.

Here are the opts that I set in receipe

hadoop-mapreduce.mapred.child.java.opts=-Xms5G -Xmx5G
-XX:-HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/mnt/tmp/
-XX:+UseCompressedOops -XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=75
-XX:ErrorFile=/mnt/tmp/java_error%p.log

Here is what the line from the task logs which has failed

<property><!--Loaded from
/data/hadoop/mapred/local/jobTracker/job_201203012345_0004.xml--><name>mapred.child.java.opts</name><value>-Xmx200m</value></property>

the mapred-site.xml has correct entry

<property>
    <name>mapred.child.java.opts</name>
    <value>-Xms5G -Xmx5G -XX:-HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/mnt/tmp/ -XX:+UseCompressedOops
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75
-XX:ErrorFile=/mnt/tmp/java_error%p.log -XX:PrintGCDateStamps
-XX:+PrintGCDetails -XX:+PrintGCApplicationStoppedTime
-Xloggc:/mnt/tmp/gc_%p.log</value>
  </property>

Any suggestions what I might be missing?

thanks
ashish

Reply via email to