-
Notifications
You must be signed in to change notification settings - Fork 538
HDDS-4677. Document Ozone Ports and Connection End Points. #8226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
48615b5
HDDS-4677. Document Ozone Ports and Connection End Points.
jojochuang 85bf842
Fix port and description.
jojochuang 44d9278
Add SCM prot properteis suffixes.
jojochuang 2f95038
Typo
jojochuang a09d9c0
Update
jojochuang 03e45d3
Merge remote-tracking branch 'origin/master' into HDDS-4677
adoroszlai a245194
Use code-style for config keys in description, too
adoroszlai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
--- | ||
title: "Network Ports" | ||
date: "2025-04-03" | ||
weight: 9 | ||
menu: | ||
main: | ||
parent: Architecture | ||
summary: Understanding and correctly configuring the network ports used by Apache Ozone is essential for the successful deployment, operation, and maintenance of Apache Ozone clusters. | ||
|
||
--- | ||
<!--- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
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 Number | Configuration Key | Endpoint Protocol | Purpose | | ||
|:--------------------|:----------------------------------------------| :---- | :---- | | ||
| 9862 | `ozone.om.address.<service_id>.<node_id>` | Hadoop RPC | Primary RPC endpoint for Ozone clients | | ||
| 9874 | `ozone.om.http-address.<service_id>.<node_id>` | HTTP | Web UI for monitoring OM status and metadata | | ||
| 9875 | `ozone.om.https-address.<service_id>.<node_id>` | HTTPS | Secure Web UI for monitoring OM status and metadata | | ||
| 9872 | `ozone.om.ratis.port.<service_id>.<node_id>` | HTTP/2 | RPC endpoint for OM HA instances to form a RAFT consensus ring | | ||
| 8981 | `ozone.om.grpc.port` | HTTP/2 | gRPC 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 Number | Configuration Key | Endpoint Protocol | Purpose | | ||
| :---- | :---- | :---- | :---- | | ||
| 9860 | `ozone.scm.client.port.<service_id>.<node_id>` | Hadoop RPC | Communication with Ozone clients for namespace and container management. If ozone.scm.client.address is defined (default is empty), ozone.scm.client.address overrides it | | ||
adoroszlai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 9863 | `ozone.scm.block.client.port.<service_id>.<node_id>` | Hadoop RPC | Communication with Datanodes for block-level operations | | ||
| 9861 | `ozone.scm.datanode.port.<service_id>.<node_id>` | Hadoop RPC | Port used by Datanodes to communicate with the SCM. If ozone.scm.datanode.address is defined (default is empty), ozone.scm.datanode.address overrides it | | ||
adoroszlai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 9961 | `ozone.scm.security.service.port.<service_id>.<node_id>` | Hadoop RPC | SCM security server port | | ||
| 9876 | `ozone.scm.http-address.<service_id>.<node_id>` | HTTP | Web UI for monitoring SCM status | | ||
| 9877 | `ozone.scm.https-address.<service_id>.<node_id>` | HTTPS | Secure Web UI for monitoring SCM status | | ||
| 9894 | `ozone.scm.ratis.port.<service_id>.<node_id>` | HTTP/2 | SCM Ratis HA | | ||
| 9895 | `ozone.scm.grpc.port.<service_id>.<node_id>` | HTTP/2 | SCM GRPC server port | | ||
|
||
Note : all the above SCM properties are suffixed with `scm service_id.node_id`. | ||
adoroszlai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
For example: `ozone.scm.client.port.scmservice.scm1`. | ||
|
||
# **Recon** | ||
|
||
| Default Port Number | Configuration Key | Endpoint Protocol | Purpose | | ||
| :---- | :---- | :---- | :---- | | ||
| 9891 | `ozone.recon.address` | Hadoop RPC | RPC address for Recon to collect metadata from other Ozone services | | ||
| 9888 | `ozone.recon.http-address` | HTTP | Web-based management and monitoring console for the entire Ozone cluster | | ||
| 9889 | `ozone.recon.https-address` | HTTPS | Web-based management and monitoring console for the entire Ozone cluster | | ||
|
||
# **S3 Gateway (S3G)** | ||
|
||
| Default Port Number | Configuration Key | Endpoint Protocol | Purpose | | ||
| :---- | :---- | :---- | :---- | | ||
| 9878 | `ozone.s3g.http-address` | HTTP | S3-compatible RESTful API endpoint | | ||
| 9879 | `ozone.s3g.https-address` | HTTPS | Secure S3-compatible RESTful API endpoint | | ||
| 19878 | `ozone.s3g.webadmin.http-address` | HTTP | Ozone S3Gateway serves web content | | ||
| 19879 | `ozone.s3g.webadmin.https-address` | HTTPS | Ozone S3Gateway serves web content | | ||
|
||
# **HttpFS Server** | ||
|
||
| Default Port Number | Configuration Key | Endpoint Protocol | Purpose | | ||
| :---- | :---- | :---- | :---- | | ||
| 14000 | `httpfs.http.port` | HTTP or HTTPS | The HTTP port for HttpFS REST API. TLS is enabled if httpfs.ssl.enabled is true | | ||
adoroszlai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# **Datanode** | ||
|
||
| Default Port Number | Configuration Key | Endpoint Protocol | Purpose | | ||
| :---- | :---- | :---- | :---- | | ||
| 9859 | `hdds.container.ipc.port` | HTTP/2 | Inter-process communication related to container operations | | ||
| 9855 | `hdds.container.ratis.datastream.port` | TCP | Ratis data streaming for container replication (if enabled) | | ||
| 9858 | `hdds.container.ratis.ipc.port` | HTTP/2 | Communication with embedded Ratis server for replication coordination | | ||
| 9857 | `hdds.container.ratis.admin.port` | HTTP/2 | Administrative requests to the Ratis server | | ||
| 9856 | `hdds.container.ratis.server.port` | HTTP/2 | Communication between Ratis peers in a replication pipeline | | ||
| 9882 | `hdds.datanode.http-address` | HTTP | Web UI for monitoring Datanode status and resource utilization | | ||
| 9883 | `hdds.datanode.https-address` | HTTPS | Secure Web UI for monitoring Datanode status and resource utilization | | ||
| 19864 | `hdds.datanode.client.port` | Hadoop RPC | The 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. | ||
* Ratis streaming ports, initiated by Netty, can be secured through TLS encryption. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.