146147148149150151152153154155156
}; Runtime.getRuntime().addShutdownHook(exitThread); // Start the mini cluster, and wait for the exit notification. try { miniCluster.start(); doneSignal.await(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); return 1; }