5 linux部署节点集群代理节点agent无法连接,无法连接agent节点

linux部署集群,代理节点agent无法连接;

各节点配置已在agent.cfg和cluster.cfg配置lanCluster=true; 设置了一个控制节点8800两个数据节点8711、8712和一个代理节点8810;

出现日志报错

2023-09-25 23:13:46.810557 <ERROR> :Failed to bind the socket on port 8080 with error code 98
2023-09-25 23:13:46.810654 <ERROR> :Failed to bind the socket on port 8080, Shutting down the server, Please try again in a
couple of minutes.
2023-09-25 23:13:47.011197 <INFO> :Worker Thread 0 terminated peacefully.
请先 登录 后评论

1 个回答

Boye

控制节点通过心跳机制监控其它节点的存活状态,心跳可以采用 TCP/UDP 传输,通过配置项 lanCluster 指定。该参数需配置在代理节点、数据节点和计算节点的 config 文件。

lanCluster=true

集群是否建立在 LAN(local area network) 上。若为 true,心跳采用 UDP 协议;若为 false,心跳采用 TCP 协议。默认值为 true。对部署在云上的集群,应当设为 false。

修改一下lanCluster试试。

请先 登录 后评论