You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/03/03 14:35:43 UTC
[GitHub] [bookkeeper] riverman282915 commented on issue #1756: [Question]
metadataServiceUri with multiple zk servers
riverman282915 commented on issue #1756: [Question] metadataServiceUri with multiple zk servers
URL: https://github.com/apache/bookkeeper/issues/1756#issuecomment-593982156
Hi I can't get this to work..
I tried with different values, yet all i get is
`14:13:07.675 [main] INFO org.apache.bookkeeper.meta.zk.ZKMetadataDriverBase - Initialize zookeeper metadata driver at metadata service uri zk+null://localhost:2181/ledgers : zkServers = lo
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
calhost:2181, ledgersRootPath = /ledgers.
`
here is how my bookie.conf looks like. can you please help me figure out the format..
`
#############################################################################
## ZooKeeper parameters
#############################################################################
# A list of one of more servers on which Zookeeper is running.
# The server list can be comma separated values, for example:
#zkServers=zk-0:2181,zk-1:2181,zk-2:2181
#zkServers=10.42.3.12:2181,10.42.4.8:2181,10.42.5.6:2181
#zkServers=localhost:2181
#metadataServiceUri=zk+hierarchical://zk-0:2181/ledgers,zk+hierarchical://zk-1:2181/ledgers,zk+hierarchical://zk-2:2181/ledgers
metadataServiceUri=zk+hierarchical://10.42.3.12:2181/ledgers,zk+hierarchical://10.42.4.8:2181/ledgers,zk+hierarchical://10.42.5.6:2181/ledgers
`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services