You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Narayanan K <kn...@gmail.com> on 2014/08/20 06:08:35 UTC

Memory settings in hadoop YARN

Hi

We run our Pig jobs in Hadoop 0.23 which has the new YARN architecture.

I had few questions on memory used by the jobs :

We have following settings for memory.

mapred.child.java.opts

mapreduce.map.memory.mb

mapreduce.reduce.memory.mb

yarn.app.mapreduce.am.resource.mb

yarn.app.mapreduce.am.command-opts


1. I want to understand these settings to make better use of Hadoop cluster.
2. How is Memory Allocated to Container ? Does any of the above
settings result in change in container ?
3. Any other memory settings we need to be aware of ?
4. I heard there was a virtual memory and physical memory involved. Is
there any propery documentation/guide that can make the memory
management easy.

Thanks
Narayanan