[Solved] Hbase list ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

HBase common problems master is initializing

1.time is inconsistent with the system ntpdate 0.cn.pool.ntp.org// command update time

start regionserver

Start regionserver first, and then start hmaster

./hbase-daemon.sh start regionserver

Then execute:

./hbase-daemon.sh start master

2. When you use the existing zookeeper, none of the above solutions will work. As soon as you open the cluster, you will have such a problem: you can clear the/HBase path in the zookeeper space and close HBase

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

ctrl + c quit zookeeper clean out the hbase storage path on HDFS hdfs dfs -rm -r /hbase restart hbase

Similar Posts: