Hbase进入hbase shell 出现ERROR: Can't get master address from ZooKeeper; znode data == null

hbase(main):001:0> list
TABLE

ERROR: Can’t get master address from ZooKeeper; znode data == null

Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:

hbase> list
hbase> list ‘abc.
hbase> list 'ns:abc.

hbase> list ‘ns:.*’
在这里插入图片描述

解决方法:
1、重新启动HBASE 服务
…(这里为HBASE目录)/stop.hbase.sh (停止)

…(这里为HBASE目录)/start.hbase.sh (启动)
在这里插入图片描述

发布了16 篇原创文章 · 获赞 30 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_44806193/article/details/88700871
今日推荐