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();
    }
public void startAll ( ) throws Exception { 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.

@throws Exception If an exception occurred.