>   Besides, I want to know how to share one ZooKeeper cluster with several
> BookKeeper clusters? That is, how to specify a root directory of ZooKeeper
> for one Bookie?
what you want is
# zkLedgersRootPath=/ledgers
in bk_server.conf

Also, you should probably use the HierarchicalLedgerManager as there
are limits in zk for how many children a znode can have, and this has
an effect on how we lay out the ledger znodes.

see
http://zookeeper.apache.org/bookkeeper/docs/r4.1.0/bookkeeperInternals.html

-Ivan

Reply via email to