YI-MapReduce

Open-Source Component Port List

2025-07-24 10:25:52

Background

With the number of managing components increasing, port conflicts can occur, especially during the testing and validation phases when different nodes are fully mixed. These conflicts may prevent some services from starting.

Method

Common fixed ports for components are identified through the netstat command corresponding to PID, official configuration files, and current component configuration files.

Result

Common ports for each component are identified. During the initialization of Linux machines, these common ports are set in net.ipv4.ip_local_reserved_ports to reserve these ports.

List of Common Components

Common components include Doris and  ElasticSearch, and more.

Common Doris Ports

Version: 2.0.4

Configuration   

Parameter

Default   Port

Current  

Configuration Port

Port   

Modification

Port   

Description

be_port

9060

9060


Port   of the thrift server on BE, used to receive requests from FE.

brpc_port

8060

8060


The   brpc port on BE, used for communication between BEs.

edit_log_port

9010

9010


bdbje   port

heartbeat_service_port

9050

9050


Heartbeat   service port on BE (thrift), used to receive heartbeats from FE.

http_port

8030

8030

8035

FE   http port. Currently, all FE http ports must be the same. It has been   modified to 8035 in the production environment.

https_port

8050



FE   http port. Currently, all FE http ports must be the same.

query_port

9030

9030


Doris   FE query connection port through MySQL protocol

rpc_port

9020

9020


Port   of FE Thrift Server

single_replica_load_brpc_port

9070



RPC   port for communication between Master and Slave replicas in the single   replica data import function. After the Master replica completes the flush,   it notifies the Slave replica to synchronize data through RPC, and the Slave   replica notifies the Master replica after the data synchronization is   completed. The system opens a separate BRPC thread pool for communication   between Master and Slave replicas during the single replica data import   process, to avoid data synchronization between replicas competing for thread   resources with data distribution and query tasks when import concurrency is   high.

single_replica_load_download_port

8050



Port   for the Slave replica to download data files from the Master replica through   HTTP in the single replica data import function. The system opens a separate   HTTP thread pool for the Slave replica to download data files from the Master   replica during the single replica data import process, to avoid the Slave   replica downloading data files competing for thread resources with other http   tasks when import concurrency is high.

webserver_port

8040

8045

8045

Service   port of the http server on BE

Common ElasticSearch Ports

Official reference: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/modules-network.html

Version: Elasticsearch-7.10.2

Configuration Parameter

Default Port

Current Configuration Port

Port Description

com.sun.management.jmxremote.port

None

9400

es jmx   port

http.port

None

9200

es http   port

transport.port

None

9300

es   transport port


IySLaIXnCGfp