@Override
  public void startRegionServer(String hostname, int port) throws IOException {
    final Configuration newConf = HBaseConfiguration.create(conf);
    newConf.setInt(HConstants.REGIONSERVER_PORT, port);
    startRegionServer(newConf);
  }
Alternate shutdown hook. Just shuts down the passed fs, not all as default filesystem hook
does.
hbase-server/src/test/java/org/apache/hadoop/hbase/SingleProcessHBaseCluster.java