Hbase出现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:.*'


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:.*'


hbase(main):003:0> 
复制代码

 

 

 

 出现此问题可能是zookeeper不稳定造成的,采用的是虚拟机,经常挂起的状态,使用hbase的list命令出现下面错误,这个可能是hbase的稳定性造成的.可能还有其他方法.我的集群是这种情况.

注意:本博文目的是为了记录和复习,不建议作为教程.

感谢http://www.cnblogs.com/zlslch/p/6556870.html#commentform给予的参考

 

posted @ 2018-02-03 10:07  王振龙  阅读(371)  评论(0)    收藏  举报
Live2D