HBase运维实践

 

参考: https://www.zybuluo.com/xtccc/note/191871

http://blog.csdn.net/liliwei0213/article/details/53639275

 

问题1:

not deployed on any region server

解决方法:

sudo -u hbase hbase hbck -fixAssignments  table

 

问题2:

ERROR: There is a hole in the region chain

 

解决方法:

sudu -u hbase hbase hbck –repairHoles

 

问题3:

Region in Transition:   Regions Stuck in RIT / Region Not Deployed on any RS

 

解决方法:
根据 HBase - Region in Transition:
1. Stop HBase
2. Use a zookeeper cli such as "hbase zkcli" and run "rmr /hbase" to delete the HBase znodes
3. Restart HBase. It will recreate the znodes

 

问题4:

执行hbase hbck -repair 后,有很多表出现region  not deployed   数据就写不进去了

解决方法:

重启集群

sudo -u hbase hbase hbck –fixAssignments  table

您可以选择一种方式赞助本站