1.现象:执行hive sql 报错

Container [pid=400,containerID=container_1591856848191_0079_01_000044] is running 2068480B beyond the ‘PHYSICAL’ memory limit. Current usage:1.0 GB of 1 GB physical memory used; 2.5 GB of 2.1 GB virtual memory used. Killing container.

2.报错原因

默认container的容器的内存是1GB的2.1倍的虚拟内存,实际需要的内存为2.5GB,因此container被killing。

3.解决方法

默认memory.mb是1G,优化下面的配置,重启
优化前:

running 2068480B beyond the PHYSICAL memory limit
优化后:
running 2068480B beyond the PHYSICAL memory limit

4.参数解释

running 2068480B beyond the PHYSICAL memory limit

相关文章:

  • 2021-09-07
  • 2021-12-25
  • 2021-11-08
  • 2022-01-23
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2021-08-27
猜你喜欢
  • 2021-09-27
  • 2022-12-23
  • 2021-07-28
  • 2021-09-04
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
相关资源
相似解决方案