Briefing Cloudera Knowledge

how do you increase JVM heap size property to 3GB to optimize performance?

You are running a Hadoop cluster with MapReduce version 2 (MRv2) on YARN. You consistently
see that MapReduce map tasks on your cluster are running slowly because of excessive garbage
collection of JVM, how do you increase JVM heap size property to 3GB to optimize performance?

A.
yarn.application.child.java.opts=-Xsx3072m

B.
yarn.application.child.java.opts=-Xmx3072m

C.
mapreduce.map.java.opts=-Xms3072m

D.
mapreduce.map.java.opts=-Xmx3072m

Explanation:
http://hortonworks.com/blog/how-to-plan-and-configure-yarn-in-hdp-2-0/