Hbase出现ERROR: Can't get master address from ZooKeeper; znode data == null解决办法

Posted 王振龙

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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给予的参考

 

以上是关于Hbase出现ERROR: Can't get master address from ZooKeeper; znode data == null解决办法的主要内容,如果未能解决你的问题,请参考以下文章

异常ERROR: Can't get master address from ZooKeeper; znode data == null

Python中读取txt文本出现:SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes i

Error: Can\'t open display

Error: Can't open display

Error: Can't open display

hbase.client.RetriesExhaustedException: Can't get the locations hive关联Hbase查询报错