hbase 遇到过的问题

1:下面这个错误是因为我zookeeper忘了启动了,启动你的zookeeper,重新启动下你的hbase

hbase(main):002: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:.*'

2:这个错误,我的解决方法是:

我从apache上下载zookeeper包,自己安装了个zk,没有使用hbase自带的zk,

安装好后,先启动zk,再启动hbase,是可以的

zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection 
原文地址:https://www.cnblogs.com/zhangXingSheng/p/6230293.html