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.*'
复制代码
解决方法:
1.重启hbase
stop-hbase.sh
复制代码
然后
start-hbase.sh
复制代码
问题解决。这里也找了其他解决办法,作为一个整理。
2.解决方法2:格式化namenode 2节点的datanode 日志信息中:
Incompatible namespaceIDs in /home/hadoop/tmp/dfs/data: namenode namespaceID = 1780037790
1节点的namenode日志信息::java.io.IOException: File /home/hadoop/tmp/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
将namenode的信息删除,重新格式化
重新启动,hbase正常