栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

BUG(mapduce):Container killed on request. Exit code is 143

BUG(mapduce):Container killed on request. Exit code is 143

问题:在mapreduce过程中出现以下问题,使得最后出不来结果

Container killed on request. Exit code is 143

[2021-11-10 10:46:48.478]Container [pid=4040,containerID=container_1636510983211_0003_01_000003] is running 229304832B beyond the 'VIRTUAL' memory limit. Current usage: 57.3 MB of 1 GB physical memory used; 2.3 GB of 2.1 GB virtual memory used. Killing container

原因:这是由于YARN虚拟内存率不足导致的。

方法一:增大虚拟内存率

在yarn-site.xml文件中添加以下配置

       yarn.nodemanager.vmem-pmem-ratio

       3.0

方法二:同样在yarn-site.xml增加以下配置:关掉对container执行虚拟内存限制

 
       yarn.nodemanager.vmem-check-enabled
       false
 

 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/460337.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号