Foreword
The cause is due to the meta data zookeeper in hbase missing or incomplete result, there is provided a solution when the initial set up. Solutions to be determined when production!
Solutions
- Turn off Hbase related services
- Hbase delete directories on hdfs
- Close hdfs services and yarn
- Close zk
- zk delete zkdata in (dir configured in zoo.cfg in) the data retention myid
- Delete all the data in the logs in hbase
- Zk rallied format zkfc
- Hdfs rallied and yarn, and then start another single point RM
- Gun启 kafka
- Then rallied hbase
to sum up
- This will have to stop operations on the outside of HDFS, otherwise it will affect zkfc formatting.
- The data zkData clear all the logs and hbase have emptied!
The perfect solution! !