Attila Doroszlai created HDDS-17660:
---------------------------------------

             Summary: Move Recon config to ozone-recon
                 Key: HDDS-17660
                 URL: https://issues.apache.org/jira/browse/HDDS-17660
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Recon
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Configuration for Recon is defined in:

{code}
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/recon/ReconConfig.java
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/recon/ReconConfigKeys.java
hadoop-hdds/common/src/main/resources/ozone-default.xml
{code}

Touching these files for Recon config changes triggers rebuild of all dependent 
components, although they affect only Recon.

We should move Recon configs to {{ozone-recon}}.

The only Recon config property used by other components is 
{{ozone.recon.kerberos.principal}}, which should be moved to 
{{hdds-server-framework}}.

{code:title=https://github.com/apache/ozone/blob/ec5ed5f7ea0e4b406aee53aae4906616819cba2b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/recon/ReconConfig.java#L31-L37}
  @Config(key = "ozone.recon.kerberos.principal",
      type = ConfigType.STRING,
      defaultValue = "",
      tags = { ConfigTag.SECURITY, ConfigTag.RECON, ConfigTag.OZONE },
      description = "This Kerberos principal is used by the Recon service. SCM 
issues a Recon certificate only to this"
          + " service user, so the property must be set in the configuration of 
SCM as well."
  )
{code}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to