A node in my YARN cluster has 64GB memory and 24 cores. I set the following properties in the yarn-site.xml:
yarn.nodemanager.reso
try something like:
mapreduce.map.memory.mb 1024 mapreduce.reduce.memory.mb 2048