qinghon commented on issue #45151:
URL: https://github.com/apache/doris/issues/45151#issuecomment-3035348087

   问题可能在于实际使用的local address 并不是priority_networks 配置的那个IPCidr
   比如:
   我在本地启动1FE/1BE的测试节点
   ```
   # env
   FE_SERVERS=fe1:127.0.0.1:9010
   #conf 
   priority_networks = 127.0.0.1/24
   ```
   但从日志可以看出,实际使用的IP为192.168.0.1:
   ```
   RuntimeLogger 2025-06-09 07:43:49,107 INFO (main|29) 
[FrontendOptions.initAddrUseIp():101] local address: /192.168.0.1.
   ```
   这可能是由于配置脚本混乱/代码忽略了127.0.0.0/8 
   
   # 解决方法
   
   1. 检查FE log,找到第一次启动时FE 使用的地址
   2. 修改`/usr/local/bin/init_fe.sh` 
添加`FE_SERVERS=fe1:<192.168.0.1(实际使用的IP)>:9010`
   3. 修改`fe/conf/fe.conf` 中`priority_networks = <192.168.0.1(实际使用的IP)>/24`
   4. 重启容器


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to