The list command in HBase shell reported an error org.apache.hadoop . hbase.PleaseHoldException : Master is initializing

HBase has been running for many days. Today, it needs to be restarted, so stop is executed- hbase.sh Stop hbasecat/TMP/HBase Hadoop- master.pid No such file or directory- env.sh Configuration file, in which export HBase is set_ PID_ The dir attribute specifies a file directory. After doing this operation, start HBase, enter HBase shell, and execute the list command. An error is reported org.apache.hadoop . hbase.PleaseHoldException Error: can’t get master address from zookeeper; znode data = = null.

So stop- hbase.sh , the attribute HBase that will be modified_ PID_ Comment out dir, restart HBase, or report an error…

So stop again- hbase.sh Refer to the process of building zookeeper and HBase and the problems encountered, summarize the way to start HBase in this article, first use the command HBase- daemon.sh Start master start the master, and then use start- hbase.sh Start HBase, enter HBase shell, execute list command, everything is normal

Read More: