private void adoptHdfsOrphans(Collection<HbckRegionInfo> orphanHdfsDirs) throws IOException {
    for (HbckRegionInfo hi : orphanHdfsDirs) {
      LOG.info("Attempting to handle orphan hdfs dir: " + hi.getHdfsRegionDir());
      adoptHdfsOrphan(hi);
    }
  }
Iterates through the list of all orphan/invalid regiondirs.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java