Cloudera
CCA-500 · Question #43
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…
The correct answer is D. mapreduce.map.java.opts=-Xmx3072m. See the full explanation below for the reasoning.
Question
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?
Options
- Ayarn.application.child.java.opts=-Xsx3072m
- Byarn.application.child.java.opts=-Xmx3072m
- Cmapreduce.map.java.opts=-Xms3072m
- Dmapreduce.map.java.opts=-Xmx3072m
How the community answered
(46 responses)- A2% (1)
- B7% (3)
- C11% (5)
- D80% (37)
Community Discussion
No community discussion yet for this question.