private boolean containsMetaTableRegions() {
    return onlineRegions.containsKey(RegionInfoBuilder.FIRST_META_REGIONINFO.getEncodedName());
  }
The HRegionServer sticks in this loop until closed.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java