saintstack opened a new pull request #6: HBASE-22680 [HBCK2] OfflineMetaRepair for hbase2/hbck2 URL: https://github.com/apache/hbase-operator-tools/pull/6 This commit checks-in hbck1 code with modifications under a new package. Changes included here allow rebuild of meta from filesystem meta data so the rebuilt hbase:meta works for hbase2. This facility is exposed via the OfflineMetaRepair tool with rebuild receipe outlined in the README documentation. More of hbck1 to be exposed (or removed) in future commits to address list of wants in parent issue HBASE-21745. M README.md Updated usage. Edit of aspects. Added section on end on how to rebuild meta offline. M pom.xml Use hbase testing utility code instead of repro in hbck as hbck1 used to do. M hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java Updated the usage. A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsckRepair.java Copied from hbck1 and updated to work against hbase2. Most goes unused. Subsequent commits will amend/expose/purge this class. For now the rebuild meta function is all that is used. Some new code added to make it work with hbase2. Some code removed and hbasetestingutility equivalents used instead. A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HFileCorruptionChecker.java A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/ReplicationChecker.java A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/TableIntegrityErrorHandler.java A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/TableIntegrityErrorHandlerImpl.java Unmodified except for repackaging. A hbase-hbck2/src/main/java/org/apache/hbase/hbck1/OfflineMetaRepair.java Tool that exposes meta fixup. Some cleanup from original.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
