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

错误如下:

运行Hbase shell时报错:
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:.*'

问题描述:

系统:CentOS6.5

集群:CDH5.12.1

解决办法:

1.使用命令 df -h 或free -g查看发现系统硬盘空间不足

2.查看cloudera管理页面发现datanode目录存储空间不足报错

3.删除namenode数据文件  

4.重新启动集群

5.进入hbase shell,表可用

 

 

 

 

你可能感兴趣的:(CDH5.12安装与维护)