美文网首页
使用sqoop导数据时,提交mr报错

使用sqoop导数据时,提交mr报错

作者: IvanStanfan | 来源:发表于2018-10-18 19:20 被阅读0次

问题:使用sqoop导数据时,提交mr报错。
Container [pid=21722,containerID=container_1539761778169_0060_01_000014] is running 575445504B beyond the 'VIRTUAL' memory limit. Current usage: 269.2 MB of 1 GB physical memory used; 2.6 GB of 2.1 GB virtual memory used. Killing container.
解决方案:因为yarn虚拟内存率使用的默认2.1,导致虚拟内存不足。修改yarn-site.xml文件添加如下行,value值根据线上情况自己定义。
<property>
<name>yarn.nodemanager.vmem-pmem-ratio</name>
<value>3.0</value>
</property>

相关文章

网友评论

      本文标题:使用sqoop导数据时,提交mr报错

      本文链接:https://www.haomeiwen.com/subject/zfwszftx.html