新启动测试环境Hbase报错,报错日志如下
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 31715688448 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/cm-5.13.0/run/cloudera-scm-agent/process/521-hbase-REGIONSERVER/hs_err_pid132687.log
查看Hbase RegionServer配置
看到分配31G,查看服务器内存使用情况
明显发现可分配给RegionServer的内存不足,导致的问题,释放内存或者调整配置内存大小,重启服务,恢复。