Container [pid=3962,containerID=container_1632883011739_0002_01_000002] is running 270113280B beyond the 'VIRTUAL' memory limit.
Current usage: 91.9 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container.
大概意思是说yarn启动运行的时候检查虚拟内存抛出异常。
修改Hadoop_HOME/etc/hadoop/yarn-site.xml文件
添加以下内容保存退出:
1 <property> 2 <name>yarn.nodemanager.vmem-pmem-ratio</name> 3 <value>3.0</value> 4 </property>
问题解决!