LOG.error("Exception while initializing bookkeeper", e);
throw new LoggerException.BKOpFailedException();
}
bk.asyncCreateLedger(config.getEnsembleSize(), config.getQuorumSize(), BookKeeper.DigestType.CRC32,
"flavio was here".getBytes(), new CreateCallback() {
@Override
public void createComplete(int rc, LedgerHandle lh, Object ctx) {
if (rc == BKException.Code.OK) {
try {
BookKeeperStateLogger.this.lh = lh;