Huge +1 and love to have that option in 1.6+ version as well, based on the experience we always recommend to be extra careful running HBCK fix inconsistencies directly as we had incidents where running hbck fix without complete knowledge ended up causing more damage to already broken clusters.
-- Sukumar On Thu, Aug 6, 2020 at 10:10 PM Mohammad arshad <mohammad.ars...@huawei.com> wrote: > Hello HBase Folks > > Currently Catalog Janitor (CJ) and HBCK chore reported inconsistencies to > be fixed by manually by executing HBCK2 commands. > HBCK2 requires high HBase skills. It is bit difficult for maintenance > personals to figure out which command, when and in which order to be > executed. > > Is there any effort going on in community to automate fixing these > inconsistencies? I also would like to contribute there. > > I was thinking, maybe we can expose CJ and HBCK chore reported > inconsistencies through a new master API and then provide option to fix > these inconsistencies. Basically adding two new commands in HBCK2 > -listInconsistencies list CJ and HBCK chore reported inconsistencies > -fixInconsistencies fix CJ and HBCK chore reported inconsistencies (Not > sure if possible to fix all inconsistencies, need to analyze all > inconsistencies case by case, but some are very straight forward for > example holes and overlap) > > Any thoughts/inputs highly appreciated. > > Regards > -Arshad > > > -- <https://smart.salesforce.com/sig/smaddineni//us_mb/default/link.html>