container[pid=2711,containerID=container_1595061096107_0001_01_00o02] is running 32302848B beyond the 'VIRTUAL’ memory limit. Current usage: 167.8 MB of 1 GB physical memory used; 2.4GB of 2.1GB Killing Container
原因分析作业运行超出虚拟内存的限制,不能提供足够的资源
问题解决在yarn-site.xml文件中添加如下取消虚拟内存限制检查
yarn.nodemanager.vmem-check-enabled false
注意将配置文件分发给每个工作的节点



