AnsweredAssumed Answered

How to configure -XXOnOutOfMemoryError="kill -9 %p"

Question asked by jerdavis on May 23, 2013
Latest reply on May 24, 2013 by jerdavis
Hello, I'm trying to configure MapR to kill the process on out of memory with the usual Java method:
-XXOnOutOfMemoryError="kill -9 %p"

I've tried
<property>
 Â <name>mapred.map.child.java.opts</name>
 Â <value>-XX:ErrorFile=/opt/cores/mapreduce_java_error%p.log -XXOnOutOfMemoryError="kill -9 %p"</value>
</property>

This however, won't start up, because of some sort of parsing issue.

Can you suggest how to get this to work with MapR?



Outcomes