You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/01/31 00:47:25 UTC
[pulsar] branch master updated: Document how to change Bookkeeper
Zk root config (#3459)
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new abd482d Document how to change Bookkeeper Zk root config (#3459)
abd482d is described below
commit abd482df6f5f163230bbadb20239b5a3b58aaa06
Author: Ambud <am...@users.noreply.github.com>
AuthorDate: Wed Jan 30 16:47:20 2019 -0800
Document how to change Bookkeeper Zk root config (#3459)
### Motivation
Using ```zkServers=zk1:2181/myroot``` current is resulting in Bookie start failure. This PR documents the correct way to configure zookeeper root for Bookkeeper when using Pulsar.
### Modifications
- Adding doc line to https://pulsar.apache.org/docs/en/administration-zk-bk/
---
site2/docs/administration-zk-bk.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/site2/docs/administration-zk-bk.md b/site2/docs/administration-zk-bk.md
index 475d8a3..a1f1598 100644
--- a/site2/docs/administration-zk-bk.md
+++ b/site2/docs/administration-zk-bk.md
@@ -25,7 +25,7 @@ Each Pulsar instance relies on two separate ZooKeeper quorums.
ZooKeeper manages a variety of essential coordination- and configuration-related tasks for Pulsar.
-Deploying a Pulsar instance requires you to stand up one local ZooKeeper cluster *per Pulsar cluster*.
+Deploying a Pulsar instance requires you to stand up one local ZooKeeper cluster *per Pulsar cluster*.
To begin, add all ZooKeeper servers to the quorum configuration specified in the [`conf/zookeeper.conf`](reference-configuration.md#zookeeper) file. Add a `server.N` line for each node in the cluster to the configuration, where `N` is the number of the ZooKeeper node. Here's an example for a three-node cluster:
@@ -232,6 +232,8 @@ zkServers=zk1.example.com:2181,zk2.example.com:2181,zk3.example.com:2181
ledgerManagerType=hierarchical
```
+To change the zookeeper root path used by Bookkeeper, use zkLedgersRootPath=/MY-PREFIX/ledgers instead of zkServers=localhost:2181/MY-PREFIX
+
> Consult the official [BookKeeper docs](http://bookkeeper.apache.org) for more information about BookKeeper.
## BookKeeper persistence policies