protected void stopBKCluster() throws Exception {
  if (bkc != null) {
    bkc.close();
  }
  for (  BookieServer server : bs) {
    server.shutdown();
    AutoRecoveryMain autoRecovery=autoRecoveryProcesses.get(server);
    if (autoRecovery != null && isAutoRecoveryEnabled()) {
      autoRecovery.shutdown();
      LOG.debug("Shutdown auto recovery for bookieserver:" + server.getLocalAddress());
    }
  }
  bs.clear();
  for (  File f : tmpDirs) {
    FileUtils.deleteDirectory(f);
  }
}

protected void stopBKCluster ( ) throws Exception { if ( bkc != null ) { bkc . close ( ) ; } for ( BookieServer server : bs ) { server . shutdown ( ) ; AutoRecoveryMain autoRecovery = autoRecoveryProcesses . get ( server ) ; if ( autoRecovery != null && isAutoRecoveryEnabled ( ) ) { autoRecovery . shutdown ( ) ; LOG . debug ( "Shutdown auto recovery for bookieserver:" + server . getLocalAddress ( ) ) ; } } bs . clear ( ) ; for ( File f : tmpDirs ) { FileUtils . deleteDirectory ( f ) ; } }
stop cluster . also , stops all the auto recovery processes for the bookie cluster , if isautorecoveryenabled is true .
