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
- SpringBoot Startup Error: Failed to start component [Connector[HTTP/1.1-8080]]
- Run hadoop fs -put Command Error: java.io.IOException: Got error, status message , ack with firstBadLink
- ZK Error contacting service. It is probably not running [How to Solve]
- [Solved] Hadoop failed on connection exception: java.net.ConnectException: Connection refused
- [Solved] Web server failed to start. Port 8080 was already in use.
- Redis Stand-alone Builds a Master-slave Copy Error [How to Solve]
- kakfa Create topic Error: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 3 larger than available brokers: 2.
- E/Art: failed sending reply to debugger: the solution of broken pipe
- Spring integrated HBase error [How to Solve]
- [Solved] Nacos Startup Error: Error creating bean with name ‘authFilter‘
- [Solved] Zookeeper cluster error: Error contacting service It is probably not running. (alicloud server)
- [Solved] Error running ‘myToncat‘: Address localhost:8080 is already in use
- [Solved] hadoop Error: 9000 failed on connection exception java.net.ConnectException Denied to Access
- [Solved] SpringBoot Startup Error: Description:Web server failed to start. Port 9090 was already in use.(win10)
- [Solved] Redis Error: Error condition on socket for SYNC: No route to host
- [Solved] kafka Error: java.net.UnknownHostException: kafkahost
- Dubbo failed to register and consumer null pointer exception
- [Solved] java.io.IOException: Got error, status=ERROR, status message, ack with firstBadLink as