Hadoop YARN - how to limit requestedMemory? Hadoop YARN - how to limit requestedMemory? hadoop hadoop

Hadoop YARN - how to limit requestedMemory?


512 is the default value of yarn.scheduler.maximum-allocation-mb in yarn-site.xml, and 1536 is the default value of yarn.app.mapreduce.am.resource.mb parameter in mapred-site.xml.

Make sure that allocation-mb > app.mapreduce.am.resource.mb, and it will be ok.