当前位置:   article > 正文

hbase错误本

hbase错误本
1,Hbase报错解决方法ERROR: KeeperErrorCode = NoNode for /hbase/master

hbase挂了,重启hbase

2,java客户端连接hbase超级慢

首先是连接zookeeper的主机名写错了。

后来是hbase挂了

3, java.lang.IllegalStateException: The procedure WAL relies on the ability to hsync for proper operation during component failures, but the underlying filesystem does not support doing so. 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-site.xml增加配置

<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
  • 1
  • 2
  • 3
  • 4

4,hbase启动失败

hbase:meta ,,1 is not online on node1
  • 1

我之前把hadoop下的数据文件夹hadoopDatas删除了,导致hbase启动失败,一直报错:

hbase:meta ,,1 is not online on node1
  • 1

解决办法是把zookeeper下hbase的相关节点删除,可以用zooInspector这个可视化工具连接zookeeper集群,把hbase节点删除,然后重新启动hbase就可以了。

在这里插入图片描述

5,org.apache.hadoop.hbase.NotServingRegionException: hbase:meta,1 is not online问题

原因是从hadoop2切换到hadoop3,原来的hdfs上hbase数据没有迁移过来,删掉zookeeper上hbase的数据,然后重启。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/一键难忘520/article/detail/829818
推荐阅读
相关标签
  

闽ICP备14008679号