public void restartHBaseCluster(StartTestingClusterOption option)
    throws IOException, InterruptedException {
    closeConnection();
    this.hbaseCluster = new SingleProcessHBaseCluster(this.conf, option.getNumMasters(),
      option.getNumAlwaysStandByMasters(), option.getNumRegionServers(), option.getRsPorts(),
      option.getMasterClass(), option.getRsClass());
    // Don't leave here till we've done a successful scan of the hbase:meta
    Connection conn = ConnectionFactory.createConnection(this.conf);
    Table t = conn.getTable(TableName.META_TABLE_NAME);
    ResultScanner s = t.getScanner(new Scan());
    while (s.next() != null) {
      // do nothing
    }
    LOG.info("HBase has been restarted");
    s.close();
    t.close();
    conn.close();
  }
Starts the hbase cluster up again after shutting it down previously in a test. Use this if you
want to keep dfs/zk up and just stop/start hbase.
@param servers number of region servers
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java