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

2022-08-28 11:10:50 浏览数 (1)

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

报错内容:

代码语言:javascript复制
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.cn/146411.html原文链接:https://javaforall.cn

0 人点赞