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 c3a7d6a document co-run zookeeper and bookie on same machine (#3242)
c3a7d6a is described below
commit c3a7d6a89eaf6c7cb1ff226ffc9b7c67bc418bc4
Author: Samuel <[email protected]>
AuthorDate: Mon Dec 24 12:40:52 2018 +0800
document co-run zookeeper and bookie on same machine (#3242)
### Motivation
Issue: https://github.com/apache/pulsar/issues/3213
### Modifications
update the readme to highlight this part
### Result
After your change, what will change.
---
site2/docs/deploy-bare-metal.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/site2/docs/deploy-bare-metal.md b/site2/docs/deploy-bare-metal.md
index af14062..cc48f77 100644
--- a/site2/docs/deploy-bare-metal.md
+++ b/site2/docs/deploy-bare-metal.md
@@ -172,6 +172,15 @@ Once each server has been added to the `zookeeper.conf`
configuration and has th
$ bin/pulsar-daemon start zookeeper
```
+> If you are planning to deploy zookeeper with bookie on the same node, you
+> need to start zookeeper by using different stats port.
+
+Start zookeeper with [`pulsar-daemon`](reference-cli-tools.md#pulsar-daemon)
CLI tool like:
+
+```bash
+$ PULSAR_EXTRA_OPTS="-Dstats_server_port=8001" bin/pulsar-daemon start
zookeeper
+```
+
## Initializing cluster metadata
Once you've deployed ZooKeeper for your cluster, there is some metadata that
needs to be written to ZooKeeper for each cluster in your instance. It only
needs to be written **once**.