天天看點

hbase list報錯 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

hbase 常見問題 Master is initializing 1、解決方案:

  • 時間跟系統不一緻 ntpdate 0.cn.pool.ntp.org //指令更新時間
  • 是否啟動regionserver

先啟動regionserver,然後在啟動Hmaster

./hbase-daemon.sh start regionserver

然後執行:

./hbase-daemon.sh start master

2、 當你使用已存在的zookeeper 時, 以上的方案都不管用,你剛打開叢集就有這樣的問題: 可以清除掉 zookeeper 空間中的 /hbase 路徑 關閉 hbase

cd $HBASE_HOME/bin
./hbase zkcli
ls /
rmr /hbase
ls /
           

ctrl + c 退出 zookeeper 清理掉 HDFS 上的 hbase 存儲路徑 hdfs dfs -rm -r /hbase 重新開機 hbase

版權聲明:本文為CSDN部落客「weixin_33862041」的原創文章,遵循CC 4.0 BY-SA版權協定,轉載請附上原文出處連結及本聲明。

原文連結:https://blog.csdn.net/weixin_33862041/article/details/91732024

繼續閱讀