@RestrictedApi(explanation = "Should only be called in self or ZKUtil", link = "",
      allowedOnPath = ".*(MetaTableLocator|ZKDump)\\.java")
  public static ServerName getMetaRegionLocation(final ZKWatcher zkw, int replicaId) {
    try {
      RegionState state = getMetaRegionState(zkw, replicaId);
      return state.isOpened() ? state.getServerName() : null;
    } catch (KeeperException ke) {
      return null;
    }
  }
Gets the meta region location, if available. Does not block.
@param zkw       reference to the {@link ZKWatcher} which also contains configuration and
                 operation
@param replicaId the ID of the replica
@return server name
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaTableLocator.java