mkoertgen commented on issue #124:
URL: 
https://github.com/apache/pulsar-helm-chart/issues/124#issuecomment-1004706854


   Kind of similar problem for me. Reinstalling a pulsar cluster chart=2.7.7 
with initialize=true results in brokers / proxies getting stuck waiting for 
zookeeper.
   
   I could track it down to incorrect arguments of **pulsar-init-job**. 
   Note that the init-job exited correctly
   
   
![image](https://user-images.githubusercontent.com/7235760/148048119-44b3e3e0-96b4-47e4-a589-d4e98e846e82.png)
   
   Here are the logs:
   ```
   Exception in thread "main" com.beust.jcommander.ParameterException: The 
following options are required: [-cs | --configuration-store], [-uw | 
--web-service-url], [-zk | --zookeeper], [-c | --cluster]
        at com.beust.jcommander.JCommander.validateOptions(JCommander.java:388)
        at com.beust.jcommander.JCommander.parse(JCommander.java:357)
        at com.beust.jcommander.JCommander.parse(JCommander.java:335)
        at 
org.apache.pulsar.PulsarClusterMetadataSetup.main(PulsarClusterMetadataSetup.java:146)
   Usage: <main class> [options]
     Options:
       -ub, --broker-service-url
         Broker-service URL for new cluster
       -tb, --broker-service-url-tls
         Broker-service URL for new cluster with TLS encryption
     * -c, --cluster
         Cluster name
     * -cs, --configuration-store
         Configuration Store connection string
       --existing-bk-metadata-service-uri
         The metadata service URI of the existing BookKeeper cluster that you 
         want to use
       -h, --help
         Show this help message
         Default: false
       --initial-num-stream-storage-containers
         Num storage containers of BookKeeper stream storage
         Default: 16
       --initial-num-transaction-coordinators
         Num transaction coordinators will assigned in cluster
         Default: 16
     * -uw, --web-service-url
         Web-service URL for new cluster
       -tw, --web-service-url-tls
         Web-service URL for new cluster with TLS encryption
     * -zk, --zookeeper
         Local ZooKeeper quorum connection string
       --zookeeper-session-timeout-ms
         Local zookeeper session timeout ms
         Default: 30000
   
   sh: 4: --cluster: not found
   ```


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to