question: 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 ) ; } }
target:  Stop cluster. Also, stops all the auto recovery processes for the bookie cluster, if isAutoRecoveryEnabled is true.