Reason: power failure (including computer sleep, etc.) caused Hmaster to fail to connect, and no master node could be found in zookeeper
Solution: delete the hbase node in zookeeper, open hbase will automatically create this node
1) log in to the zookeeper client: zkCli.sh
2) delete the hbase node: deleteall /hbase
The most critical step: restart hbase, restart zookeeper
1) close zookeeper: my_zk.sh stop This is my script to start zk, don’t copy
2) close hbase: stop-hbase.sh is invalid, use the jps command to find each in the cluster The port number of the hmaster and hregionserver of the machine, kill -9 + port number one by one kills the hbase process, which is equivalent to manually closing hbase
3) Open zookeeper and hbase, my_zk.sh start start-hbase.sh
hdfs does not need to be moved, If yours doesn’t work, hdfs can also be restarted.
Read More:
- [Solved] JAVA connect HBase program is stuck and does not report an error
- How to Solve Hbase JAVA import Package Error
- Spring integrated HBase error [How to Solve]
- [Solved] Hbase-shell 2.x Error: Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal…
- Redis Stand-alone Builds a Master-slave Copy Error [How to Solve]
- SpringBoot Startup Error: Failed to start component [Connector[HTTP/1.1-8080]]
- E/Art: failed sending reply to debugger: the solution of broken pipe
- [Solved] Web server failed to start. Port 8080 was already in use.
- ZK Error contacting service. It is probably not running [How to Solve]
- Run hadoop fs -put Command Error: java.io.IOException: Got error, status message , ack with firstBadLink
- [Solved] Nacos Startup Error: Error creating bean with name ‘authFilter‘
- [Solved] Hadoop failed on connection exception: java.net.ConnectException: Connection refused
- API Failed to Connect phoenix Error: java.sql.SQLException: ERROR 726 (43M10): Inconsistent namespace mapping properties
- [Solved] SpringBoot Startup Error: Description:Web server failed to start. Port 9090 was already in use.(win10)
- [Solved] Error running ‘myToncat‘: Address localhost:8080 is already in use
- kakfa Create topic Error: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 3 larger than available brokers: 2.
- [Solved] Zookeeper cluster error: Error contacting service It is probably not running. (alicloud server)
- [Solved] hadoop Error: 9000 failed on connection exception java.net.ConnectException Denied to Access
- [Solved] Nacos Serve Local Startup Error: Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCre
- [Solved] kafka startup Error: ERROR Fatal error during KafkaServer startup. Prepare to shutdown