datasetService.stopAndWait();
if (externalAuthenticationServer != null) {
externalAuthenticationServer.stopAndWait();
}
zookeeper.stopAndWait();
<BUG>logAppenderInitializer.close();
hiveServer.stopAndWait();
hiveMetastore.stopAndWait();
}</BUG>
static void usage(boolean error) {

datasetService.stopAndWait();
if (externalAuthenticationServer != null) {
externalAuthenticationServer.stopAndWait();
}
zookeeper.stopAndWait();
logAppenderInitializer.close();
if (hiveMetastore != null && hiveServer != null) {
hiveServer.stopAndWait();
hiveMetastore.stopAndWait();
}
}
static void usage(boolean error) {
