Help Center/ MapReduce Service/ User Guide/ MRS Cluster O&M/ Common Ports for MRS Cluster Services
Updated on 2025-08-09 GMT+08:00

Common Ports for MRS Cluster Services

This section describes the common ports of each component in an MRS cluster. If the cluster version type is LTS during cluster creation in custom config mode as described in Buying a Custom MRS Cluster, you can determine whether to keep the default ports of the components consistent with those of the open-source components.

Figure 1 Selecting a component port policy for an LTS cluster in custom config mode
  • If Component Port is set to Open source or Version Type is set to Normal, find the default component ports in the Default Open Source Port column of the following table.
  • If Component Port is set to Custom, find the default component ports in the Default Custom Port column of the following table.
  • If there is only the Default Port column, the open-source ports of the component are the same as the default custom ports.
  • The value range of each component port is a recommended value, defined by the product. However, the system does not enforce strict limitations on port ranges.

Common HBase Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

hbase.master.port

16000

21300

HMaster RPC port, which is used to connect the HBase client to HMaster.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hbase.master.info.port

16010

21301

HMaster HTTPS port, which is used by the remote web client to connect to the HMaster UI.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hbase.regionserver.port

16020

21302

RegionServer (RS) RPC port, which is used to connect the HBase client to RegionServer.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hbase.regionserver.info.port

16030

21303

RegionServer HTTPS port, which is used by the remote web client to connect to the RegionServer UI.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hbase.thrift.info.port

9095

21304

Thrift server listening port of ThriftServer. This port is used by client connections.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hbase.regionserver.thrift.port

9090

21305

Thrift server listening port of RegionServer. This port is used by clients to connect to RegionServer.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hbase.rest.info.port

8085

21308

Port of the native web UI of RegionServer RESTServer.

-

21309

21309

REST port of RegionServer RESTServer.

Common HDFS Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

dfs.namenode.rpc.port

  • 9820 (versions earlier than MRS 3.x)
  • 8020 (MRS 3.x or later)

25000

NameNode RPC port, which is used for communication between the HDFS client and NameNode and connections between different DataNodes.
  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.namenode.http.port

9870

25002

HTTP access port of NameNode. This port is used for the point-to-point NameNode checkpoint operations and for the remote web client to connect to the NameNode UI.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.namenode.https.port

9871

25003

HTTPS access port of NameNode. This port is used for the point-to-point NameNode checkpoint operations and for the remote web client to connect to the NameNode UI.
  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.datanode.ipc.port

9867

25008

Port for communication between DataNode processes. This port is used by clients to connect to DataNodes to perform RPC operations.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.datanode.port

9866

25009

DataNode data transmission port. This port is used by the HDFS client to transfer data from or to DataNode.
  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.datanode.http.port

9864

25010

DataNode HTTP port, which is used to remotely connect to the DataNode UI through a web client in secure mode.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.datanode.https.port

9865

25011

DataNode HTTPS port, which is used to remotely connect to the DataNode UI through a web client in secure mode.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.JournalNode.rpc.port

8485

25012

JournalNode RPC port, which is used for client communication.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.journalnode.http.port

8480

25013

JournalNode HTTP port, which is used to remotely connect to JournalNode through a web client in secure mode.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

dfs.journalnode.https.port

8481

25014

JournalNode HTTPS port, which is used to remotely connect to JournalNode through a web client in secure mode.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

httpfs.http.port

14000

25018

HttpFS HTTP server listening port, which is used to remotely connect to HttpFS through a REST API.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common HetuEngine Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

server.port (HSBroker)

29860

29860

Specifies the port number that HSBroker listens to.

server.port (HSConsole)

29880

29880

Specifies the port number that HSConsole listens to.

server.port (HSFabric)

29900

29900

Specifies the port number that HSFabric listens to, which is used for cross-domain connections.

gateway.port

29902

29902

Specifies the port number that HSFabric listens to, which is used for JDBC connections.

Common Hive Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

templeton.port

9111

21055

Port used for WebHCat to provide the REST service.

This port is used for the communication between the WebHCat server and the WebHCat client.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hive.server2.thrift.port

10000

21066

Port for HiveServer to provide Thrift services.

This port is used for the communication between the HiveServer server and the HiveServer client.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hive.metastore.port

9083

21088

Port for MetaStore to provide Thrift services.

This port is used for communication between the Metastore client and Metastore, that is, communication between HiveServer and Metastore.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

hive.server2.webui.port

10002

-

Hive Web UI port, which is used to communicate with the Hive UI server using HTTPS/HTTP.

Common Hue Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

HTTP_PORT

8888

21200

Port for Hue to provide HTTPS services

This port is used to provide web services over HTTPS, which can be changed.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common Kafka Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

port

9092

21005

Port for a broker to receive data and obtain services

ssl.port

9093

21008

SSL port used by a broker to receive data and obtain services

sasl.port

21007

21007

SASL security authentication port provided by a broker, which provides the secure Kafka service

sasl-ssl.port

21009

21009

Port used by a broker to provide encrypted service based on the SASL and SSL protocols

Common Loader Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

Port Description

LOADER_HTTPS_PORT

21351

This port is used to provide REST APIs for configuration and running of Loader jobs.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common Manager Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

(Versions Earlier Than MRS 3.x)

Port Description

-

8080

Port provided by WebService for user access

This port is used to access the web UI over HTTP.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

-

28443

Port provided by WebService for user access

This port is used to access the web UI over HTTPS.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common MapReduce Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

mapreduce.jobhistory.webapp.port

19888

26012

Web HTTP port of the JobHistory server

This port is used to view the web page of the JobHistory server.

mapreduce.jobhistory.port

10020

26013

Port of the JobHistory server

This port is used for:

  1. Task data restoration in the MapReduce client
  2. Obtaining task report in the Job client

mapreduce.jobhistory.webapp.https.port

19890

26014

Web HTTPS port of the JobHistory server

This port is used to view the web page of the JobHistory server.

Common Spark Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

hive.server2.thrift.port

22550

22550

JDBC thrift port

This port is used for socket communication between the Spark 2.1.0 CLI/JDBC client and server.

If hive.server2.thrift.port is used, an exception indicating that the port is occupied is reported.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

spark.ui.port

4040

22950

Web UI port of JDBC

This port is used for HTTPS/HTTP communication between Web requests and the JDBC Server Web UI server.

The system obtains the port based on the parameter settings and checks its validity. If the port is invalid, the system increases the port number by 1 each time for a maximum of 16 times until a valid port is obtained (the retry times can be configured using spark.port.maxRetries).

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

spark.history.ui.port

18080

22500

JobHistory Web UI port

This port is used for HTTPS/HTTP communication between web requests and the Spark 2.1.0 History Server.

The system obtains the port based on the parameter settings and checks its validity. If the port is invalid, the system increases the port number by 1 each time for a maximum of 16 times until a valid port is obtained (the retry times can be configured using spark.port.maxRetries).

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common Storm Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

nimbus.thrift.port

6627

29200

Port for Nimbus to provide thrift services

supervisor.slots.ports

6700/6701/6702/6703

29200~29499

Port for receiving service requests that are forwarded from other servers

logviewer.https.port

29248

29248

Port for LogViewer to provide HTTPS services

ui.https.port

29243

29243

Port for the Storm UI to provide HTTPS services

Common YARN Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

yarn.resourcemanager.webapp.port

8088

26000

Web HTTP port of the ResourceManager service

yarn.resourcemanager.webapp.https.port

8090

26001

Web HTTPS port of the ResourceManager service

This port is used to access the Resource Manager web applications in security mode.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

yarn.nodemanager.webapp.port

8042

26006

NodeManager Web HTTP port

yarn.nodemanager.webapp.https.port

8044

26010

NodeManager Web HTTPS port

This port is used to access the NodeManager web applications in security mode.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common ZooKeeper Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

clientPort

2181

24002

ZooKeeper client port

This port is used for communication between the ZooKeeper client and ZooKeeper server.

  • Is the port enabled by default during the installation: Yes
  • Is the port enabled after security hardening: Yes

Common Kerberos Ports

The protocol type of all ports in the table is TCP and UDP.

Parameter

Default Port

Port Description

KADMIN_PORT

21730

Port for managing Kerberos users.

KPASSWD_PORT

21731

Port for changing the Kerberos password.

kdc_ports

21732

Kerberos server port. This port is used by components for Kerberos authentication. This port may be used when you configure mutual trust between clusters.

Common OpenTSDB Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

Port Description

tsd.network.port

4242

Web UI port of OpenTSDB

This port is used for HTTPS/HTTP communication between web requests and the OpenTSDB UI server.

Common Tez Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

Port Description

tez.ui.port

28888

Web UI port of Tez

Common KafkaManager Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

Port Description

kafka_manager_port

9099

Web UI port of KafkaManager

Common Presto Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

Port Description

http-server.http.port

7520

HTTP port for Presto coordinator to provide services to external systems

http-server.https.port

7521

HTTPS port for Presto coordinator to provide services to external systems

http-server.http.port

7530

HTTP port for Presto worker to provide services to external systems

http-server.https.port

7531

HTTPS port for Presto worker to provide services to external systems

Common Flink Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Port

Port Description

jobmanager.web.port

32261~32325

Web UI port of Flink

This port is used for HTTP/HTTPS communication between the client web requests and Flink server.

Common ClickHouse Ports

The protocol type of the port in the table is TCP and HTTP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

interserver_http_port

9009

9009

HTTP port for the communication between ClickHouse servers.

interserver_https_port

9010

9010

HTTPS port for the communication between ClickHouse servers.

http_port

8123

8123

Port for connecting to the ClickHouse server through HTTP.

https_port

8443

8443

Port for connecting to the ClickHouse server through HTTPS.

tcp_port

9000

9000

Port for connecting the client to the ClickHouse server through TCP.

tcp_port_secure

9440

9440

Port for connecting the client to the ClickHouse server through TCP SSL.

lb_tcp_port

21424

21424

TCP communication port number for ClickHouseBalancer.

lb_http_port

21425

21425

HTTP communication port number for ClickHouseBalancer.

lb_https_port

21426

21426

HTTPS communication port number for ClickHouseBalancer.

lb_tcp_secure_port

21428

21428

TCP SSL communication port number for ClickHouseBalancer.

Common Impala Ports

The protocol type of all ports in the table is TCP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

--beeswax_port

21000

21970

Port for impala-shell communication

--hs2_port

21050

21971

Port for Impala application communication

--hs2_http_port

28000

21981

Port used by Impala to provide the HiveServer2 protocol for external systems

Common Doris Ports

The protocol type of the port in the table is TCP and HTTP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

http_port

8030

29980

HTTP port of the FE service

https_port

8050

29991

HTTPS port of the FE service

query_port

9030

29982

Port used by the Doris FE to query connections through the MySQL protocol

rpc_port

9020

29981

Thrift Server port of the FE service

be_port

9060

29984

Thrift Server Port on BE for receiving requests from FE

brpc_port

8060

29987

BRPC port on BE, which is used for communications between BE instances.

heartbeat_service_port

9050

29985

Thrift heartbeat service port on BE, which is used to receive heartbeat messages from FE

webserver_port

8040

29986

HTTP server port on BE

broker_ipc_port

8000

29990

Thrift Server communication port on Broker, which is used to receive requests.

single_replica_load_brpc_port

9070

29988

RPC port used for the communication between the master and slave replicas to import single-replica data

single_replica_load_download_port

8050

29989

Port used by the slave replica to download data files from the master replica through HTTP for single-copy data import

Common Guardian Ports

The protocol type of the port in the table is TCP and HTTP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

ranger.obs.service.rpc.address.port

26901

26901

The RPC listening port for the Guardian OBS client service.

token.server.http-server.port

26900

26900

HTTP listening port of the Guardian service.

token.server.rpc.address.port

26902

26902

The RPC listening port of the Guardian service.

Common Kudu Ports

The protocol type of the port in the table is TCP and HTTP.

Parameter

Default Open Source Port

Default Custom Port

Port Description

rpc_bind_addresses

7051

7051

Default RPC port of the Kudu Master. All requests from Tablet Server and clients (such as Impala and Spark) interact with the Master through this port.

webserver_port

8051

8051

Web UI port of the Kudu Master.

You can access http://<master_host>:8051 using a browser to view the Master status and monitoring information.

rpc_bind_addresses

7050

7050

Default RPC port of the Kudu Tablet Server.

This port is used for receiving client requests, coordinating with the Master, and communication between Tablet Servers.

webserver_port

8050

8050

Web UI port of the Kudu Tablet Server.

You can access http://<tserver_host>:8050 using a browser to view the Tablet Server status and monitoring information.