HBase hbck—checking the consistency of an HBase cluster
HBase provides the hbck
command to check for various inconsistencies. The name hbck
comes from the HDFS fsck
command, which is the tool to check HDFS for inconsistencies. The following is a very easy-to-understand description from the source of hbck:
Check consistency among the in-memory states of the master and the region server(s) and the state of data in HDFS.
HBase hbck
not only has the facility to check inconsistencies, but also the functionality to fix an inconsistency.
In production, we recommend you run hbck
frequently so that inconsistencies can be found earlier and fixed easily.
In this recipe, we will describe how to use hbck
to check inconsistencies. We will also make some inconsistencies ...
Get HBase Administration Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.