当前位置: 代码迷 >> 综合 >> [2020-09-29 19:16:39.658]Container killed on request. Exit code is 143 [2020-09-29 19:16:39.674]Cont
  详细解决方案

[2020-09-29 19:16:39.658]Container killed on request. Exit code is 143 [2020-09-29 19:16:39.674]Cont

热度:60   发布时间:2024-02-23 23:33:44.0

跑MR时出现

[2020-09-29 19:16:39.658]Container killed on request. Exit code is 143
[2020-09-29 19:16:39.674]Container exited with a non-zero exit code 143.

主要是由于一下虚拟内存受到限制引起的

is running 343398912B beyond the 'VIRTUAL' memory limit. Current usage: 392.4 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container.

只需要我们在其 yarn-site.xml中加如下配置就可以解决:

   <property><name>yarn.nodemanager.vmem-check-enabled</name><value>false</value></property>
  相关解决方案