324325326327328329330331332333334
clientConf.setZkServers(zkutil.getZooKeeperConnectString()); clientConf.setZkLedgersRootPath(ZK_ROOT); BookKeeperAdmin.format(clientConf, false, false); Bookie b = new Bookie(conf); b.shutdown(); } finally { FileUtils.deleteDirectory(tmpDir); } }
321322323324325326327328329330331