前言
在Cloudera manager 环境中,给某一个client节点上添加一个新的hbase gateway。
但是也就是这个时候,在client节点上执行命令
[root@client ~]# hbase shell
提示文章标题的错误.
Description
在安装了hbase client上 gateway ,进行登陆hbase,发现以下报错:
[root@client ~]# hbase shell
2020-06-09 16:36:59,057 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2020-06-09 16:37:17,368 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts
2020-06-09 16:37:17,369 WARN [main] zookeeper.ZKUtil: hconnection-0x7c8c70d60x0, quorum=localhost:2181, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
....
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>"