【hive】hive查询报错INFO: os::commit_memory(0x00000006e9990000, 3597074432, 0) failed; error=‘Cannot alloc

【hive】hive查询报错INFO: os::commit_memory(0x00000006e9990000, 3597074432, 0) failed; error=‘Cannot alloc报错内容:INFO:Startingtask[Stage-14:MAPREDLOCAL]inserialmodeJavaHotSpot(TM)64-BitServerVMwarning:ignoringoptionMaxPermSize=512M;supportwasremovedin8.0JavaHotSpot(TM)64-BitServerVMwarning:INFO:os::commit_memory(0x00000006e9990000,

大家好,又见面了,我是你们的朋友全栈君。

报错内容:

INFO  : Starting task [Stage-14:MAPREDLOCAL] in serial mode
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006e9990000, 3597074432, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 3597074432 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /run/cloudera-scm-agent/process/1740-hive-HIVESERVER2/hs_err_pid15457.log
ERROR : Execution failed with exit status: 1
ERROR : Obtaining error information
ERROR : 
Task failed!
Task ID:
  Stage-14

Logs:

ERROR : /var/log/hive/hadoop-cmf-hive-HIVESERVER2-master01.rupeeplus.rongtime.awsaps1.in.log.out
ERROR : FAILED: Execution Error, return code 1 from 

报错原因:

多发生在hive客户端 / mr 执行机器内存不足。

解决方案:

  1. 检查下操作系统的内存使用情况。
  2. 检查下hive/mr 客户端机器客户端JVM 配置的大小
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/146411.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号