HBASE 安装后 hbase shell 启动失败问题

在安装HBASE并成功启动相关服务后,尝试运行hbase shell时遇到警告和错误,包括NativeCodeLoader无法加载库和ZooKeeper操作超时。通过修改hbase-site.xml配置,将`hbase.zookeeper.quorum`属性从复合值改为单一主机值,问题得到解决,hbase shell成功启动。
摘要由CSDN通过智能技术生成

1, 安装HBASE, 并且启动成功


[root@MASTER opt]# jps
21920 SecondaryNameNode
2273 HMaster
21441 NameNode
5490 ResourceManager
1844 QuorumPeerMain
2501 HRegionServer
21653 DataNode
3532 Jps
22236 NodeManager



2,尝试运行hbase


ot@MASTER opt]# hbase shell
Java HotSpot(TM) Server VM warning: You have loaded library /root/cluster/opt/hadoop-2.6.0/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2016-11-10 13:54:37,656 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/cluster/opt/hbase-1.2.4/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/cluster/opt/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindi

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值