private void checkMetaLoaded(RegionInfo hri) throws PleaseHoldException {
    if (!isRunning()) {
      throw new PleaseHoldException("AssignmentManager not running");
    }
    boolean meta = isMetaRegion(hri);
    boolean metaLoaded = isMetaLoaded();
    if (!meta && !metaLoaded) {
      throw new PleaseHoldException(
        "Master not fully online; hbase:meta=" + meta + ", metaLoaded=" + metaLoaded);
    }
  }
Used to check if the meta loading is done.
<p/>
if not we throw PleaseHoldException since we are rebuilding the RegionStates
@param hri region to check if it is already rebuild
@throws PleaseHoldException if meta has not been loaded yet
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java