[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to