有三个节点192.168.18.186、192.168.18.187、192.168.18.188部署doris
节点192.168.18.186
docker-compose.yml
version: '3'
services:
docker-fe:
image: registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-noavx2-2.1.9
container_name: "doris-fe01"
hostname: "fe01"
environment:
- FE_SERVERS=fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010
- FE_ID=1
network_mode: host
volumes:
- ./data/fe/doris-meta:/opt/apache-doris/fe/doris-meta
- ./data/fe/log:/opt/apache-doris/fe/log
docker-be:
image: registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-noavx2-2.1.9
container_name: "doris-be01"
hostname: "be01"
depends_on:
- docker-fe
environment:
- FE_SERVERS=fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010
- BE_ADDR=192.168.18.186:9050
- priority_networks=192.168.18.0/24
- vm.max_map_count=2000000
network_mode: host
volumes:
- ./data/be/storage:/opt/apache-doris/be/storage
- ./data/be/log:/opt/apache-doris/be/log
节点192.168.18.187
docker-compose.yml
version: '3'
services:
docker-fe:
image: registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-noavx2-2.1.9
container_name: "doris-fe02"
hostname: "fe02"
environment:
- FE_SERVERS=fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010
- FE_ID=2
network_mode: host
volumes:
- ./data/fe/doris-meta:/opt/apache-doris/fe/doris-meta
- ./data/fe/log:/opt/apache-doris/fe/log
docker-be:
image: registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-noavx2-2.1.9
container_name: "doris-be02"
hostname: "be02"
depends_on:
- docker-fe
environment:
- FE_SERVERS=fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010
- BE_ADDR=192.168.18.187:9050
- priority_networks=192.168.18.0/24
- vm.max_map_count=2000000
network_mode: host
volumes:
- ./data/be/storage:/opt/apache-doris/be/storage
- ./data/be/log:/opt/apache-doris/be/log
节点192.168.18.188
docker-compose.yml
version: '3'
services:
docker-fe:
image: registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-noavx2-2.1.9
container_name: "doris-fe03"
hostname: "fe03"
environment:
- FE_SERVERS=fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010
- FE_ID=3
network_mode: host
volumes:
- ./data/fe/doris-meta:/opt/apache-doris/fe/doris-meta
- ./data/fe/log:/opt/apache-doris/fe/log
docker-be:
image: registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-noavx2-2.1.9
container_name: "doris-be03"
hostname: "be03"
depends_on:
- docker-fe
environment:
- FE_SERVERS=fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010
- BE_ADDR=192.168.18.188:9050
- priority_networks=192.168.18.0/24
- vm.max_map_count=2000000
network_mode: host
volumes:
- ./data/be/storage:/opt/apache-doris/be/storage
- ./data/be/log:/opt/apache-doris/be/log
帮我看看是fe什么问题
mysql> SHOW PROC '/frontends';
+-----------------------------------------+----------------+-------------+----------+-----------+---------+--------------------+----------+----------+------------+-------+-------+-------------------+---------------------+---------------------+----------+--------------------------------------------------------------------+-----------------------------+------------------+
| Name | Host | EditLogPort | HttpPort | QueryPort | RpcPort | ArrowFlightSqlPort | Role | IsMaster | ClusterId | Join | Alive | ReplayedJournalId | LastStartTime | LastHeartbeat | IsHelper | ErrMsg | Version | CurrentConnected |
+-----------------------------------------+----------------+-------------+----------+-----------+---------+--------------------+----------+----------+------------+-------+-------+-------------------+---------------------+---------------------+----------+--------------------------------------------------------------------+-----------------------------+------------------+
| fe_6873e819_2bb5_4325_a226_0eaab44a2921 | 172.17.0.1 | 9010 | 8030 | 9030 | 9020 | -1 | FOLLOWER | true | 1927345544 | true | true | 91 | 2025-05-09 11:55:40 | 2025-05-09 12:01:21 | true | | doris-2.1.9-rc02-3390475e02 | Yes |
| fe_66febfbf_c2f5_4814_9d3e_e187f93b6726 | 192.168.18.187 | 9010 | 8030 | 0 | 0 | 0 | FOLLOWER | false | 1927345544 | false | false | 0 | NULL | NULL | true | java.net.ConnectException: Connection refused (Connection refused) | NULL | No |
| fe_2d9e2598_1a1c_449c_bfb3_9088d047c6a6 | 192.168.18.188 | 9010 | 8030 | 0 | 0 | 0 | FOLLOWER | false | 1927345544 | false | false | 0 | NULL | NULL | true | java.net.ConnectException: Connection refused (Connection refused) | NULL | No |
+-----------------------------------------+----------------+-------------+----------+-----------+---------+--------------------+----------+----------+------------+-------+-------+-------------------+---------------------+---------------------+----------+--------------------------------------------------------------------+-----------------------------+------------------+
3 rows in set (0.03 sec)