虚拟内存限制问题:
错误:
[2020-07-18 16:35:28.310]Container [pid=2711,containerID=container_1595061096107_0001_01_000002] is running
332302848B beyond the ‘VIRTUAL’ memory limit.
Current usage: 167.8 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container.
在yarn-site.xml中加入如下配置:
yarn.nodemanager.vmem-check-enabled
false