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

来源:互联网 发布:python rang 编辑:程序博客网 时间:2024/05/31 18:47
hbase(main):006: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

问题解决。


方法2:格式化namenode

namenode的信息删除,重新格式化

su hdfs 

hdfs namenode –format
重新启动,hbase正常





阅读全文
0 0
原创粉丝点击