Doris 部署启动 FE 报错:the self host 172.31.26.7 does not equal to the host in ROLE file 172.17.0.1. You need to set 'priority_networks' config in fe.conf to match the host 172.17.0.1
报错信息如下:
java.io.IOException: the self host 172.31.26.7 does not equal to the host in ROLE file 172.17.0.1. You need to set 'priority_networks' config in fe.conf to match the host 172.17.0.1
at org.apache.doris.catalog.Catalog.getClusterIdAndRole(Catalog.java:903)
at org.apache.doris.catalog.Catalog.initialize(Catalog.java:805)
at org.apache.doris.PaloFe.start(PaloFe.java:125)
at org.apache.doris.PaloFe.main(PaloFe.java:63)
根据错误提示修改 fe.conf 中的 priority_networks 配置绑定内网IP,重启也不起作用。
解决办法
删除 doris-meta目录下的所有目录及文件,修改 fe.conf 里面的 priority_networks,重启即可解决。