public TableName getTableName() {
    if (this.metaEntry != null) {
      return this.metaEntry.hri.getTable();
    } else if (this.hdfsEntry != null) {
      // we are only guaranteed to have a path and not an HRI for hdfsEntry,
      // so we get the name from the Path
      Path tableDir = this.hdfsEntry.regionDir.getParent();
      return CommonFSUtils.getTableName(tableDir);
    } else {
      // return the info from the first online/deployed hri
      for (OnlineEntry e : deployedEntries) {
        return e.getRegionInfo().getTable();
      }
      return null;
    }
  }
Read the .regioninfo file from the file system. If there is no .regioninfo, add it to the
orphan hdfs region list.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HbckRegionInfo.java