public void waitTableAvailable(TableName table) throws InterruptedException, IOException {
    waitTableAvailable(table.getName(), 30000);
  }
Wait until all regions in a table have been assigned. Waits default timeout before giving up
(30 seconds).
@param table Table to wait on.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java