【问题】
今天突然发现有多个报表作业失败,涉及到查询有关报活的表。联想到最近几天有ETL同学的作业从老集群迁移到这个新集群上运行,推测可能是资源不够用导致的作业失败。
错误日志摘要:
Container [pid=31300,containerID=container_e80_1535989582384_2041_01_000210] is running beyond physical memory limits.
Current usage: 2.2 GB of 2 GB physical memory used; 4.0 GB of 4.2 GB virtual memory used. Killing container.
【日志解读】
running beyond physical memory limits 意思是容器运行时超出了物理内存限制。
【问题分析】
Cloudera的有关介绍:
The setting mapreduce.map.memory.mb will set the physical memory size of the container running the mapper (mapreduce.reduce.memory.mb wi