gaozhangmin commented on a change in pull request #14686:
URL: https://github.com/apache/pulsar/pull/14686#discussion_r829663601



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java
##########
@@ -244,7 +244,8 @@ public static void main(String[] args) throws Exception {
         // Format BookKeeper ledger storage metadata
         if (arguments.existingBkMetadataServiceUri == null && 
arguments.bookieMetadataServiceUri == null) {
             ServerConfiguration bkConf = new ServerConfiguration();
-            bkConf.setMetadataServiceUri("metadata-store:" + 
metadataStoreUrlNoIdentifer);
+            bkConf.setDelimiterParsingDisabled(true);

Review comment:
       > I think 
[apache/bookkeeper#2900](https://github.com/apache/bookkeeper/issues/2900) is 
not the same as the problem here. 
[apache/bookkeeper#2900](https://github.com/apache/bookkeeper/issues/2900) 
caused by the `ServerConfiguration`(extend `CompositeConfiguration`) can't 
process a comma-separated parameter read from `bk_server.conf`(if you set 
`zk1:2181,zk2:2181/test` in bk_server.conf, you only get the `zk1:2181` in 
`ServerConfiguration`).
   > 
   > But here just `ServerConfiguration.setMetadataServiceUri()`, why we will 
get `["zk1:2181", "zk2:2181/test"].` ?
   
   @aloyszhang   You can try `bin/pulsar initialize-cluster-metadata --cluster 
test --metadata-store  zk1:2181,zk2:2181/test --configuration-metadata-store 
zk1:2181,zk2:2181/test   --web-service-url http://localhost:8080/  
--broker-service-url pulsar://localhost:6650`




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to