2 Star 6 Fork 5

AmCoder / AmCoder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Hbase.md 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
AmCoder 提交于 2020-05-30 10:25 . 第一次提交
  • 问题描述: Hbase启动报错

Please check the config value of 'hbase.procedure.store.wal.use.hsync' to set the desired level of robustness and ensure the config value of 'hbase.wal.dir' points to a FileSystem mount that can provide it

Hbase启动报错

解决方案

在hbase-site.xml中新增以下配置,重启服务
<property>
  <name>hbase.unsafe.stream.capability.enforce</name>
  <value>false</value>
</property>

  • 问题描述: Phoenix或其它客户端连接HBASE报错

org.apache.hadoop.hbase.DoNotRetryIOException: Class org.apache.phoenix.coprocessor.MetaDataEndpointImpl cannot be loaded Set hbase.table.sanity.checks to false at conf or table descriptor if you want to bypass sanity checks

连接Hbase报错

解决方案

在hbase-site.xml中新增以下配置,重启服务
<property>
    <name>hbase.table.sanity.checks</name>
    <value>false</value>
</property>

  • 问题描述: hbase shell报错

nhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected

hbase shell报错

解决方案

这是由于jline的jar包版本太低,所以需要换成高版本

下载链接:https://repo1.maven.org/maven2/jline/jline/2.12/jline-2.12.jar 替换掉/home/bigdata/hadoop-2.6.1/share/hadoop/yarn/lib下的jline-0.9.94.jar即可

其他
1
https://gitee.com/AmCoder/AmCoder.git
git@gitee.com:AmCoder/AmCoder.git
AmCoder
AmCoder
AmCoder
master

搜索帮助