Skip to main content
Version: 2.1.2

Default Ports Used by Ozone

This document provides a comprehensive overview of the network ports utilized by Apache Ozone. Due to its distributed nature and the requirement for high performance in handling data-intensive tasks, understanding and correctly configuring these network ports is essential for the successful deployment, operation, and maintenance of Apache Ozone clusters.

Ozone Manager (OM)​

Default Port NumberConfiguration KeyEndpoint ProtocolPurpose
9862ozone.om.address.<service_id>.<node_id>Hadoop RPCPrimary RPC endpoint for Ozone clients
9874ozone.om.http-address.<service_id>.<node_id>HTTPWeb UI for monitoring OM status and metadata
9875ozone.om.https-address.<service_id>.<node_id>HTTPSSecure Web UI for monitoring OM status and metadata
9872ozone.om.ratis.port.<service_id>.<node_id>HTTP/2RPC endpoint for OM HA instances to form a RAFT consensus ring
8981ozone.om.grpc.portHTTP/2gRPC endpoint for Ozone Manager clients
note

Except for ozone.om.grpc.port, all the above OM properties are suffixed with service_id.node_id. For example: ozone.om.address.cluster1.om1.

Storage Container Manager (SCM)​

Default Port NumberConfiguration KeyEndpoint ProtocolPurpose
9860ozone.scm.client.port.<service_id>.<node_id>Hadoop RPCCommunication with Ozone clients for namespace and container management. ozone.scm.client.address overrides it, if defined (default is empty)
9863ozone.scm.block.client.port.<service_id>.<node_id>Hadoop RPCCommunication with Datanodes for block-level operations
9861ozone.scm.datanode.port.<service_id>.<node_id>Hadoop RPCPort used by Datanodes to communicate with the SCM. ozone.scm.datanode.address overrides it, if defined (default is empty)
9961ozone.scm.security.service.port.<service_id>.<node_id>Hadoop RPCSCM security server port
9876ozone.scm.http-address.<service_id>.<node_id>HTTPWeb UI for monitoring SCM status
9877ozone.scm.https-address.<service_id>.<node_id>HTTPSSecure Web UI for monitoring SCM status
9894ozone.scm.ratis.port.<service_id>.<node_id>HTTP/2SCM Ratis HA
9895ozone.scm.grpc.port.<service_id>.<node_id>HTTP/2SCM gRPC server port
note

All the above SCM properties are suffixed with service_id.node_id. For example: ozone.scm.client.port.scmservice.scm1.

Recon​

Default Port NumberConfiguration KeyEndpoint ProtocolPurpose
9891ozone.recon.addressHadoop RPCRPC address for Recon to collect metadata from other Ozone services
9888ozone.recon.http-addressHTTPWeb-based management and monitoring console for the entire Ozone cluster
9889ozone.recon.https-addressHTTPSWeb-based management and monitoring console for the entire Ozone cluster

S3 Gateway (S3G)​

Default Port NumberConfiguration KeyEndpoint ProtocolPurpose
9878ozone.s3g.http-addressHTTPS3-compatible RESTful API endpoint
9879ozone.s3g.https-addressHTTPSSecure S3-compatible RESTful API endpoint
19878ozone.s3g.webadmin.http-addressHTTPOzone S3Gateway serves web content
19879ozone.s3g.webadmin.https-addressHTTPSOzone S3Gateway serves web content

HttpFS Server​

Default Port NumberConfiguration KeyEndpoint ProtocolPurpose
14000httpfs.http.portHTTP or HTTPSThe HTTP port for HttpFS REST API. TLS is enabled if httpfs.ssl.enabled is true

Datanode​

Default Port NumberConfiguration KeyEndpoint ProtocolPurpose
9859hdds.container.ipc.portHTTP/2Inter-process communication related to container operations
9855hdds.container.ratis.datastream.portTCPRatis data streaming for container replication (if enabled)
9858hdds.container.ratis.ipc.portHTTP/2Communication with embedded Ratis server for replication coordination
9857hdds.container.ratis.admin.portHTTP/2Administrative requests to the Ratis server
9856hdds.container.ratis.server.portHTTP/2Communication between Ratis peers in a replication pipeline
9882hdds.datanode.http-addressHTTPWeb UI for monitoring Datanode status and resource utilization
9883hdds.datanode.https-addressHTTPSSecure Web UI for monitoring Datanode status and resource utilization
19864hdds.datanode.client.portHadoop RPCThe port number of the Ozone Datanode client service
note
  • The default port values can be overridden within the ozone-site.xml configuration file, with the exception of HttpFS ports, which are configurable via the httpfs-site.xml configuration file.
  • Hadoop RPC, a binary protocol operating over TCP, may be authenticated and encrypted using the Java SASL mechanism.
  • Authentication of the Web UI and HttpFS is achievable through Kerberos/SPNEGO, with encryption facilitated by HTTPS.
  • S3 client connections to the S3 Gateway undergo authentication utilizing S3 secrets and encryption via TLS.
  • A series of Ozone service ports are established by gRPC and Ratis, the latter employing gRPC. gRPC, a protocol based on HTTP/2, is capable of being encrypted with TLS. For how TLS and mTLS apply across gRPC/Ratis and HTTPS ports, see Configuring gRPC With TLS.
  • Ratis streaming ports, initiated by Netty, can be secured through TLS encryption.