While trying to use newly command extraRegionsInMeta added by
HBASE-23371, Daisuke Kobayashi noticed it was not working properly on some deployments not including another patch merged in HBASE-22758, that changed MetaTableAccessor interface:
Since MetaTableAccessor is IA Private, and HBCK2 is aimed to evolve independently of hbase project, ideally we should not rely in IA Private interfaces.
There's already an existing HBCKMetaTableAccessor on hbck2, with some MetaTableAccessor original methods used in hbck2 re-implemented. This PR removes all dependencies to MetaTableAccessor currently existing in hbck2, re-implementing some of the required methods on HBCKMetaTableAccessor.
Thanks for finding and reporting it, Daisuke Kobayashi!