This is an automated email from the ASF dual-hosted git repository.
tison 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 f548d1bdc3a [improve][doc] Add chroot path related informations
(#18040)
f548d1bdc3a is described below
commit f548d1bdc3ae561562faa5cfdde4dc2587664934
Author: Leona Yoda <[email protected]>
AuthorDate: Mon Nov 14 11:07:37 2022 +0900
[improve][doc] Add chroot path related informations (#18040)
---
site2/docs/deploy-bare-metal.md | 8 ++++----
site2/website/versioned_docs/version-2.10.x/deploy-bare-metal.md | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/site2/docs/deploy-bare-metal.md b/site2/docs/deploy-bare-metal.md
index 15b5949e73a..d30fb286326 100644
--- a/site2/docs/deploy-bare-metal.md
+++ b/site2/docs/deploy-bare-metal.md
@@ -249,8 +249,8 @@ You can initialize this metadata using the
[`initialize-cluster-metadata`](refer
```shell
bin/pulsar initialize-cluster-metadata \
--cluster pulsar-cluster-1 \
---metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \
---configuration-metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \
+--metadata-store zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181 \
+--configuration-metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181 \
--web-service-url http://pulsar.us-west.example.com:8080 \
--web-service-url-tls https://pulsar.us-west.example.com:8443 \
--broker-service-url pulsar://pulsar.us-west.example.com:6650 \
@@ -343,8 +343,8 @@ Pulsar brokers are the last thing you need to deploy in
your Pulsar cluster. Bro
The most important element of broker configuration is ensuring that each
broker is aware of the ZooKeeper cluster that you have deployed. Ensure that
the [`metadataStoreUrl`](reference-configuration.md#broker) and
[`configurationMetadataStoreUrl`](reference-configuration.md#broker) parameters
are correct. In this case, since you only have 1 cluster and no configuration
store setup, the `configurationMetadataStoreUrl` point to the same
`metadataStoreUrl`.
```properties
-metadataStoreUrl=zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
-configurationMetadataStoreUrl=zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+metadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+configurationMetadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
```
You also need to specify the cluster name (matching the name that you provided
when you [initialize the metadata of the
cluster](#initialize-cluster-metadata)):
diff --git a/site2/website/versioned_docs/version-2.10.x/deploy-bare-metal.md
b/site2/website/versioned_docs/version-2.10.x/deploy-bare-metal.md
index 25dc0445861..86e86d92559 100644
--- a/site2/website/versioned_docs/version-2.10.x/deploy-bare-metal.md
+++ b/site2/website/versioned_docs/version-2.10.x/deploy-bare-metal.md
@@ -271,8 +271,8 @@ You can initialize this metadata using the
[`initialize-cluster-metadata`](refer
$ bin/pulsar initialize-cluster-metadata \
--cluster pulsar-cluster-1 \
- --metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \
- --configuration-metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181/my-chroot-path \
+ --metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181 \
+ --configuration-metadata-store
zk:zk1.us-west.example.com:2181,zk2.us-west.example.com:2181 \
--web-service-url http://pulsar.us-west.example.com:8080 \
--web-service-url-tls https://pulsar.us-west.example.com:8443 \
--broker-service-url pulsar://pulsar.us-west.example.com:6650 \
@@ -386,8 +386,8 @@ The most important element of broker configuration is
ensuring that each broker
```properties
-metadataStoreUrl=zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
-configurationMetadataStoreUrl=zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+metadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
+configurationMetadataStoreUrl=zk://zk1.us-west.example.com:2181,zk2.us-west.example.com:2181,zk3.us-west.example.com:2181
```