HBASE-26656 Utility to correct corrupt RegionInfo's in hbase:meta
authorJosh Elser <elserj@apache.org>
Tue, 14 Dec 2021 23:02:38 +0000 (18:02 -0500)
committerJosh Elser <jelser@cloudera.com>
Wed, 12 Jan 2022 18:41:56 +0000 (13:41 -0500)
commite3a8f96d0b9e9b985d7f6f2952aaa929047c5b08
tree120d29d7efaa1bc1dec0287f47b98eaf10e56718
parentb9b50ac350808319bf399464a2deff9878b74d21
HBASE-26656 Utility to correct corrupt RegionInfo's in hbase:meta

A standalone utility which corrects hbase:meta given the problem
described by HBASE-23328. Includes the ability to both "report" corrupt
regions as well as correct them. This tool will ensure that other
HBCK2 utilities continue to work without additional modification.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Closes #102
hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
hbase-hbck2/src/main/java/org/apache/hbase/HBCKRegionInfo.java [new file with mode: 0644]
hbase-hbck2/src/main/java/org/apache/hbase/RegionInfoMismatchTool.java [new file with mode: 0644]
hbase-hbck2/src/test/java/org/apache/hbase/TestRegionInfoMismatchTool.java [new file with mode: 0644]