HistoryGift opened a new issue #11793:
URL: https://github.com/apache/pulsar/issues/11793
**Describe the bug**
docker启动pulsar standalone,配置transaction,容器 重启后无法正常启动
**To Reproduce**
Steps to reproduce the behavior:
1. docker run -it --name pulsar\
-p 6650:6650 \
-p 8080:8080 \
apachepulsar/pulsar:2.8.0 \
bin/pulsar standalone
2. vim standalone.conf
transactionCoordinatorEnabled=true
3. 初始化数据
bin/pulsar initialize-transaction-coordinator-metadata -cs 127.0.0.1:2181
-c standalone
4. 重启容器
docker restart pulsar
等待一段时间执行docker ps 发现容器挂掉了
docker logs pulsar | less 查看日志
08:04:48.391 [pulsar-client-io-84-1] WARN
org.apache.pulsar.client.impl.ClientCnx - [id: 0x9a3a4e3c, L:/127.0.0.1:54010 -
R:localhost/127.0.0.1:6650] 2 request timedout after ms 30000
08:04:48.391 [main] ERROR
org.apache.pulsar.functions.worker.PulsarWorkerService - Error Starting up in
worker
org.apache.pulsar.client.api.PulsarClientException$TimeoutException: 2
request timedout after ms 30000
排查过:
1)更换了宿主机
2)尝试先改配置文件->重启->初始化数据
3)尝试先改配置文件->初始化数据->重启
不知道怎么解决这个问题
--
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]