bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kelly <iv...@apache.org>
Subject Re: Will it be a problem if I use millions of ledgers in BookKeeper?
Date Tue, 23 Oct 2012 08:49:37 GMT
void setZkLedgersRootPath(String zkLedgersPath);

its in AbstractConfiguration, because it's shared between the server
and the client.

-ivan

On Tue, Oct 23, 2012 at 04:34:44PM +0800, ChenWei wrote:
> if I changed zkLedgersRootPath to /test1 or /ledgers/test1, how should the
> client config the BookKeeper? I didn't find one in ClientConfiguration.
> 
> 2012/10/23 Ivan Kelly <ivank@apache.org>
> 
> > >   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
> >

Mime
View raw message