ERROR:org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

異常信息 :

在這裏插入圖片描述
解決方法 : 集羣時間不同

設置一下時間
在完成上部操作之後,重啓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,解決問題。

發佈了35 篇原創文章 · 獲贊 244 · 訪問量 18萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章