@Override
      public void run() {
        IOUtils.closeQuietly(HBaseFsck.this, e -> LOG.warn("", e));
        cleanupHbckZnode();
        unlockHbck();
      }
To repair region consistency, one must call connect() in order to repair online state.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java