You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "yousrayk (via GitHub)" <gi...@apache.org> on 2025/03/11 11:56:17 UTC
[D] ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127 [pulsar]
GitHub user yousrayk created a discussion: ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127
when I run the compose.yml
✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127
GitHub link: https://github.com/apache/pulsar/discussions/24068
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127 [pulsar]
Posted by "yousrayk (via GitHub)" <gi...@apache.org>.
GitHub user yousrayk edited a discussion: ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127
GitHub link: https://github.com/apache/pulsar/discussions/24068
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127 [pulsar]
Posted by "xdhukang (via GitHub)" <gi...@apache.org>.
GitHub user xdhukang closed the discussion with a comment: ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127
I got the same error and had fixed it.
check the pulsar-init logs by: docker logs pulsar-init
if you see:
> picocli.CommandLine$MissingParameterException: Missing required options: '--cluster=<cluster>', '--web-service-url=<clusterWebServiceUrl>'
> Exception in thread "main" picocli.CommandLine$MissingParameterException: Missing required options: '--cluster=<cluster>', '--web-service-url=<clusterWebServiceUrl>'
> at picocli.CommandLine$MissingParameterException.create(CommandLine.java:18661)
> at picocli.CommandLine$MissingParameterException.access$21200(CommandLine.java:18649)
> at picocli.CommandLine$Interpreter.validateConstraints(CommandLine.java:13651)
> at picocli.CommandLine$Interpreter.parse(CommandLine.java:13614)
> at picocli.CommandLine$Interpreter.parse(CommandLine.java:13559)
> at picocli.CommandLine$Interpreter.parse(CommandLine.java:13454)
> at picocli.CommandLine.parseArgs(CommandLine.java:1552)
> at org.apache.pulsar.PulsarClusterMetadataSetup.main(PulsarClusterMetadataSetup.java:227)
> bash: line 2: --cluster: command not found
> bash: line 3: --zookeeper: command not found
> bash: line 4: --configuration-store: command not found
> bash: line 5: --web-service-url: command not found
> bash: line 6: --broker-service-url: command not found
then you can modify the compose.yaml file, change the pulsar-init's command to a one line command like below:
`bash -c "bin/pulsar initialize-cluster-metadata --cluster cluster-a --zookeeper zookeeper:2181 --configuration-store zookeeper:2181 --web-service-url http://broker:8080 --broker-service-url pulsar://broker:6650"`
then retry `docker compose up -d`, you will get
✔ Network pulsar_pulsar Created 0.0s
✔ Container zookeeper Healthy 16.4s
✔ Container pulsar-init Exited 15.6s
✔ Container bookie Started 15.8s
✔ Container broker Started
GitHub link: https://github.com/apache/pulsar/discussions/24068#discussioncomment-12612851
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127 [pulsar]
Posted by "yousrayk (via GitHub)" <gi...@apache.org>.
GitHub user yousrayk closed a discussion: ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127
GitHub link: https://github.com/apache/pulsar/discussions/24068
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127 [pulsar]
Posted by "yousrayk (via GitHub)" <gi...@apache.org>.
GitHub user yousrayk closed a discussion: ✘ Container pulsar-init service "pulsar-init" didn't complete successfully: exit 127
GitHub link: https://github.com/apache/pulsar/discussions/24068
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org