public void startAll ( ) throws Exception { // Make sure the child processes and any created files get killed/deleted if the process is terminated. this . cleanup . set ( new Thread ( this :: cleanupOnShutdown ) ) ; Runtime . getRuntime ( ) . addShutdownHook ( this . cleanup . get ( ) ) ; if ( this . startZk ) { resumeZooKeeper ( ) ; } initializeZookeeper ( ) ; runBookies ( ) ; }
Starts the BookKeeper cluster in - process .