Created on 08-20-2020 09:27 AM - edited 08-20-2020 10:19 AM
Hello,
how can I update HBase 2.1.0 (CDH 6.3.2) to a version that fully supports HBCK2 (for example 2.1.6)? I can't repair an inconsistent table ("There is an overlap in the region chain."). The old HBCK doesn't work with 2.1.0 and HBCK2 from "hbase operator tools" does not work with 2.1.0
Best regards
buddelflinktier
Created 08-22-2020 11:58 AM
@buddelflinktier This is the compatibility matrix of HBase and info about HBCK tool.
Created on 08-26-2020 08:19 AM - edited 08-26-2020 08:21 AM
Hello,
no, this does not answer my question. My table contains holes and overlaps and these errors can only be repaired with hbck2 fixMeta. This function is only available from Hbase version 2.1.6 or 2.2.1. See also HBCK2 documentation:
fixMeta Do a server-side fix of bad or inconsistent state in hbase:meta. Available in hbase 2.2.1/2.1.6 or newer versions. Master UI has matching, new 'HBCK Report' tab that dumps reports generated by most recent run of _catalogjanitor_ and a new 'HBCK Chore'. It is critical that hbase:meta first be made healthy before making any other repairs. Fixes 'holes', 'overlaps', etc., creating (empty) region directories in HDFS to match regions added to hbase:meta. Command is NOT the same as the old _hbck1_ command named similarily. Works against the reports generated by the last catalog_janitor and hbck chore runs. If nothing to fix, run is a noop. Otherwise, if 'HBCK Report' UI reports problems, a run of fixMeta will clear up hbase:meta issues. See 'HBase HBCK' UI for how to generate new report.