Here, we will discuss HBase administrating tools that are already available. We will also study the HBase check (hbck
) and the HBase health check script a bit more.
The hbck
command is used to check/repair HBase. This command finds out inconsistencies in the HBase cluster, if they exist, and gives a formatted output for them. This command/tool checks for region consistency and table integrity problems. It works in two modes:
It is good to repair inconsistencies that have lower risk while executing a repair hbck
command. These region consistency repairs are localized-single-region repairs, which only modify in-memory data, wrong ZooKeeper data, or patch holes in the metadata table (an inconsistency exists if every possible row key doesn't resolve to exactly one region, and if every region isn't assigned and...