In high-availability cluster and then build HBase cluster master log error zookeeper.MetaTableLocator: Failed verification of hbase: meta

Foreword

Here Insert Picture Description
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

  1. Turn off Hbase related services
  2. Hbase delete directories on hdfs
  3. Close hdfs services and yarn
  4. Close zk
  5. zk delete zkdata in (dir configured in zoo.cfg in) the data retention myid
  6. Delete all the data in the logs in hbase
  7. Zk rallied format zkfc
  8. Hdfs rallied and yarn, and then start another single point RM
  9. Gun启 kafka
  10. 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! !

Here Insert Picture Description

Published 37 original articles · won praise 17 · views 1817

Guess you like

Origin blog.csdn.net/qq_37714755/article/details/104951194