You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/06/06 06:01:00 UTC
[jira] [Resolved] (HDDS-10968) Add default config item for ozone-default.xml
[ https://issues.apache.org/jira/browse/HDDS-10968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved HDDS-10968.
-------------------------------------
Resolution: Information Provided
{{hdds.datanode.replication.port}} is defined in:
{code:title=https://github.com/apache/ozone/blob/23e350b2385014fa15a02a9ff7c359a5f15ae5e9/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/ReplicationServer.java#L238-L241}
@Config(key = "port", defaultValue = "9886",
description = "Port used for the server2server replication server",
tags = {DATANODE, MANAGEMENT})
private int port;
{code}
It is included in the following config XML generated at compile-time:
{code}
hadoop-hdds/container-service/target/classes/ozone-default-generated.xml
63- <property>
64: <name>hdds.datanode.replication.port</name>
65- <value>9886</value>
66- <description>Port used for the server2server replication server</description>
67- <tag>DATANODE, MANAGEMENT</tag>
68- </property>
{code}
So there is no need to duplicate it in {{ozone-default.xml}}.
> Add default config item for ozone-default.xml
> ---------------------------------------------
>
> Key: HDDS-10968
> URL: https://issues.apache.org/jira/browse/HDDS-10968
> Project: Apache Ozone
> Issue Type: Wish
> Components: common
> Reporter: Yuqi Du
> Priority: Trivial
> Labels: pull-request-available
>
> # Add a default config item(hdds.datanode.replication.port) for ozone-default.xml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org