What to do when the Task Tracker job is killed due to an OutOfMemoryException?

You can assign more memory to the task trackers by adding the following property on your Hadoop's cluster conf/mapred-site.xml configuration file:

<property>
  <name>mapred.child.java.opts</name>
  <value>-Xmx1024m</value>
</property>
  • No labels