Affects Version/s: 1.1.0
Fix Version/s: 1.2.0
The memory resource settings for hadoop are outdated.
Now the settings in mapred-site.xml should be used
These are set now to -Xmx1024m (This was hardcoded before)
Additionally one can now optionally set the maxmimum (resident) memory
for map and reduce jobs
And last but not least, will set yarn.nodemanager.vmem-pmem-ratio to 100:
There is the public misconception that virtual memory is a limiting resource.
That's only the case for 32Bit Adress spaces, not anymore.
See for instance for http://stackoverflow.com/questions/561245/virtual-memory-usage-from-java-under-linux-too-much-memory-used
for an rather up to date detailled explanation, why vmem doesn't matter.
So we allow it to be tremendiously large. Why does it matter, anyhow? Java8 seems to use memory mapped I/O agressivly now, and the virtual memory in the hadoop mapred container became exhausted when the resident memory is only 15% used.