doris ip address range configured for priority_networks does not include the current IP address

部署doris 遇到的问题

部署fe报错:
ip address range configured for priority_networks does not include the current IP address
解决:报错信息为,设置的网段没有包含当前网络。需要在fe的conf下设置priority_networks网段
(需要设置本机的ip地址而不是服务器的公网ip地址)
使用命令查看ip掩码地址
ip addr show eth0 | grep inet | awk '{print $2}' | awk -F'/' '{print $1}'

注意:如果服务器安装过docker 则需要填写docker0 下的ip
例如:
在这里插入图片描述

启动be时报错:

Please disable swap memory before installation
Linux系统发现又swap分区正在使用,需要进行关闭
使用指令

1 输入命令 "sudo /bin/bash" 进入管理员权限的shell。
2 输入命令 "sudo swapoff -a" 禁用所有交换分区。

需要设置JAVA_HOME:

The JAVA_HOME environment variable is not defined correctly

启动fe出错:

wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 658341
需要查看是否有虚拟ip地址,有则重新设置。
posted @ 2024-09-20 10:29  Reisen7  阅读(403)  评论(0)    收藏  举报  来源