throw new IllegalStateException(e); // never reached
} catch (InterruptedException e) {
interruptedException("Interrupted creating a BookKeeper client", e);
throw new IllegalStateException(e); // never reached
}
zk = new RecoveringZooKeeper(new BasicZooKeeper(zooKeeper), zkMaxRetries,
zkRetryIntervalMs);
metadataManager = new BookKeeperJournalMetadataManager(zk, zkParentPath);
maxTxId = new MaxTxId(zk, maxTxIdPath);
currentInProgressMetadata = new CurrentInProgressMetadata(zk,
currentInProgressPath);