Support Questions

Find answers, ask questions, and share your expertise

Upgrade HBase 2.1.0 (CDH6.1.0)

avatar
Contributor

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

2 REPLIES 2

avatar
Master Guru

@buddelflinktier This is the compatibility matrix of HBase and info about HBCK tool. 

https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/admin_hbase_hbck.html#concept_xhw_q4...


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Contributor

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.