hadoop 2.6.5 yarn的虚拟内存

今天跑了一个mr,报错了

Container [pid=23093,containerID=container_1619340363070_0046_01_000008] is running beyond virtual memory limits. 
Current usage: 196.9 MB of 1 GB physical memory used; 2.1 GB of 2.1 GB virtual memory used.
Killing container.

感觉应该是虚拟内存,不够用了。

hadoop-2.6.5/etc/hadoop/

 yarn-site.xml

参考网址:

https://hadoop.apache.org/docs/r2.6.5/hadoop-yarn/hadoop-yarn-common/yarn-default.xml

yarn.nodemanager.vmem-pmem-ratio
虚拟内存/物理内存=默认2.1

调高这个值

 

上一篇:用HTML5实现分片上传GB级大文件组件


下一篇:《GB/T33000-2016》PDF下载