You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "yingh0ng (via GitHub)" <gi...@apache.org> on 2024/12/12 10:44:30 UTC
[I] [Doc] Running pulsar using docker compose as documented fails--“Unmatched arguments from index 0” [pulsar]
yingh0ng opened a new issue, #23722:
URL: https://github.com/apache/pulsar/issues/23722
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### What issue do you find in Pulsar docs?
### problem
Follow the steps in this [https://pulsar.apache.org/docs/4.0.x/getting-started-docker-compose/](url) to start pulsar, and then report an error

### env
system: Debian on wsl
Docker version: 25.03
### What is your suggestion?
### reason
The format of the command operation of pulsar-init is wrong and the newline characters cannot be converted correctly.

### How i fixed
Use Json array on command operation.

### Any reference?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
--
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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Running pulsar using docker compose as documented fails--“Unmatched arguments from index 0” [pulsar]
Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on issue #23722:
URL: https://github.com/apache/pulsar/issues/23722#issuecomment-2547748317
I submitted https://github.com/apache/pulsar-site/pull/979 to fix this issue.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Running pulsar using docker compose as documented fails--“Unmatched arguments from index 0” [pulsar]
Posted by "yingh0ng (via GitHub)" <gi...@apache.org>.
yingh0ng closed issue #23722: [Doc] Running pulsar using docker compose as documented fails--“Unmatched arguments from index 0”
URL: https://github.com/apache/pulsar/issues/23722
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Running pulsar using docker compose as documented fails--“Unmatched arguments from index 0” [pulsar]
Posted by "yingh0ng (via GitHub)" <gi...@apache.org>.
yingh0ng commented on issue #23722:
URL: https://github.com/apache/pulsar/issues/23722#issuecomment-2550218302
> I submitted [apache/pulsar-site#979](https://github.com/apache/pulsar-site/pull/979) to fix this issue.
It looks good. I'll close this issue.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Running pulsar using docker compose as documented fails--“Unmatched arguments from index 0” [pulsar]
Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on issue #23722:
URL: https://github.com/apache/pulsar/issues/23722#issuecomment-2547710033
Thanks for your report. The latest Pulsar uses picocli to parse the command, it is more strict than jcommander. I reported this issue to the picocli a long time ago, go to https://github.com/remkop/picocli/issues/2348.
Could you use `/bin/sh/ -c "COMMAND"` in the `docker-compose.yml`? You can check https://github.com/apache/pulsar-client-go/pull/1304, it works fine.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org