H

I'm trying to use hbck2 (
https://downloads.apache.org/hbase/hbase-operator-tools-1.0.0/) but can't
find a way to fix the region holes.
Most appropriate option to fix the region holes appears to be "filesystem
--fix"
However it does not fix the region holes.
Looking at the source it appears that fixing region holes is not enabled
out of the box


https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/src/main/java/org/apache/hbase/FileSystemFsck.java:
    /*
      The below are too radical for hbck2. They are filesystem changes only.
      Need to connect them to hbase:meta and master; master should repair
      holes and overlaps and adopt regions.
hbaseFsck.setFixHdfsOrphans(fix);
      hbaseFsck.setFixHdfsHoles(fix);
      hbaseFsck.setFixHdfsOverlaps(fix);
      hbaseFsck.setFixTableOrphans(fix);
      */


Any reason why these are not enabled. What would be risk of enabling
these fixes.
HBase version 2.1.4 (http://archive.apache.org/dist/hbase/2.1.4/)

Thanks,

Nand

Reply via email to