yorkexing opened a new issue, #16788:
URL: https://github.com/apache/doris/issues/16788

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   1.2.1 
   
   ### What's Wrong?
   
   
https://github.com/apache/doris/blob/master/docker/runtime/broker/resource/init_broker.sh
   
   按照教程,构建镜像后,启动失败
   
   ### What You Expected?
   
   构建后能够启动镜像并正常运行
   
   ### How to Reproduce?
   
   存在3个问题
   1. 未正确从环境变量中获取参数
   FE_SERVERS=""
   BROKER_ADDR=""
   需改为
   FE_SERVERS=$FE_SERVERS
   BROKER_ADDR=$BROKER_ADDR
   以便于获取docker 启动时注入参数
   
   2. 脚本执行完后就退出了,导致docker直接退出
   3. 官方文档上写的 BROKER_ADDR格式有无  
https://doris.apache.org/zh-CN/docs/dev/install/construct-docker/run-docker-cluster
   官方文档写的:BROKER | BROKER_ADDR | BROKER 节点主要信息 | 172.20.80.6:8000
   实际上从shell脚本看,应该是:broker_name:172.20.80.6:8000,如 borker1:172.20.80.6:8000
   
   
   
   
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscr...@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to