- fe.conf部分配置文件
...
http_port = 18030
rpc_port = 19020
query_port = 19030
edit_log_port = 19010
arrow_flight_sql_port = -1
...
- be.conf部分配置文件
...
be_port = 19060
webserver_port = 18040
heartbeat_service_port = 19050
brpc_port = 18060
arrow_flight_sql_port = -1
...
- docker-compose部分配置
# fe
...
environment:
- TZ=Asia/Shanghai
- FE_SERVERS=fe1:10.20.183.81:19010
- FE_ID=1
volumes:
- /data/dorisfe/conf/fe.conf:/opt/apache-doris/fe/conf/fe.conf:rw
network_mode: host
...
# be
environment:
- TZ=Asia/Shanghai
- FE_SERVERS=fe1:10.20.183.81:19010
- BE_ADDR=10.20.183.81:19050
volumes:
- /data/dorisbe/conf/be.conf:/opt/apache-doris/be/conf/be.conf:rw
network_mode: host
dorisfe启动报错:
2024-05-18 12:59:50,239 INFO (InternalSchemaInitializer|113) [InternalCatalog.createDb():427] create database[__internal_schema] which already exists
2024-05-18 12:59:50,242 WARN (InternalSchemaInitializer|113) [InternalSchemaInitializer.run():81] Statistics storage initiated failed, will try again later
org.apache.doris.common.DdlException: errCode = 2, detailMessage = System has no available disk capacity or no available BE nodes
at org.apache.doris.system.SystemInfoService.checkAvailableCapacity(SystemInfoService.java:820) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.datasource.InternalCatalog.createTable(InternalCatalog.java:1101) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.catalog.InternalSchemaInitializer.createTbl(InternalSchemaInitializer.java:159) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.catalog.InternalSchemaInitializer.run(InternalSchemaInitializer.java:79) ~[doris-fe.jar:1.2-SNAPSHOT]
...
dorisbe启动日志:
...
2024-05-18T12:59:02+08:00 [Warn] [Entrypoint]: FE_SERVERS fe1:10.20.183.81:19010
2024-05-18T12:59:02+08:00 [Warn] [Entrypoint]: BE_ADDR 10.20.183.81:19050
2024-05-18T12:59:02+08:00 [Note] [Entrypoint]: MASTER_FE_IP 10.20.183.81
2024-05-18T12:59:02+08:00 [Note] [Entrypoint]: CURRENT_BE_IP 10.20.183.81
2024-05-18T12:59:02+08:00 [Note] [Entrypoint]: CURRENT_BE_PORT 19050
2024-05-18T12:59:02+08:00 [Note] [Entrypoint]: PRIORITY_NETWORKS 10.20.183.0/24
2024-05-18T12:59:02+08:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2024-05-18T12:59:22+08:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2024-05-18T12:59:43+08:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2024-05-18T13:00:03+08:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2024-05-18T13:00:23+08:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
2024-05-18T13:00:43+08:00 [Note] [Entrypoint]: MASTER FE is not started. retry.
...
系统参数什么的都配置过了,依旧不行,不改端口可以正常启动.