日志里有很多
2016-01-15 17:02:51,634 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.ContainersMonitorImpl: Memory usage of ProcessTree 26436 for container-id container_1452847522275_0004_01_000004: 259.2 MB of 1.5 GB physical memory used; 844.8 MB of 3.1 GB virtual memory used
这种信息,是不是可以确定机器内存不够了
日志里有很多
2016-01-15 17:02:51,634 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.ContainersMonitorImpl: Memory usage of ProcessTree 26436 for container-id container_1452847522275_0004_01_000004: 259.2 MB of 1.5 GB physical memory used; 844.8 MB of 3.1 GB virtual memory used
像这种信息不一定是不够,而是由于yarn.nodemanager.resource.memory-mb与实际的物理内存不符或则设置过大造成的