@Override
  public byte[] getEndKey() {
    if (this.metaEntry != null) {
      return this.metaEntry.hri.getEndKey();
    } else if (this.hdfsEntry != null) {
      return this.hdfsEntry.hri.getEndKey();
    } else {
      LOG.error("Entry " + this + " has no meta or hdfs region start key.");
      return null;
    }
  }
Maintain information about a particular region. It gathers information from three places -- HDFS,
META, and region servers.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HbckRegionInfo.java