Step 1: Understand heap size vs container memory and check options
Java heap size (-Xmx) must be less than container memory to avoid errors. mapreduce.map.memory.mb=2048\nmapreduce.map.java.opts=-Xmx1536m sets container memory to 2048 MB and heap to 1536 MB, which is valid. Others have heap larger than container memory, causing errors.
Final Answer:
mapreduce.map.memory.mb=2048\nmapreduce.map.java.opts=-Xmx1536m -> Option B
Quick Check:
Heap size < container memory [OK]
Quick Trick:Heap size must be smaller than container memory [OK]
Common Mistakes:
Setting heap size larger than container memory
Using inconsistent units (MB vs GB)
Forgetting to set Java opts after memory
Master "Performance Tuning" in Hadoop
9 interactive learning modes - each teaches the same concept differently