異常信息 :
解決方法 : 集羣時間不同
設置一下時間
在完成上部操作之後,重啓hbase服務時又會報錯:
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:.*'
解決方案
這時,出現的問題是由於節點多次或長期掛起導致的zookeeper不穩定,我們可以通過多次重啓hbase服務或者是格式化namenode和DataNode,解決問題。