You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2021/02/05 08:24:00 UTC

[jira] [Created] (HDDS-4796) Use @ConfigGroup annotation based config for BlockDeletingService

Marton Elek created HDDS-4796:
---------------------------------

             Summary: Use @ConfigGroup annotation based config for BlockDeletingService
                 Key: HDDS-4796
                 URL: https://issues.apache.org/jira/browse/HDDS-4796
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Marton Elek
            Assignee: Byron Hsu


OZONE_BLOCK_DELETING_LIMIT_PER_CONTAINER and OZONE_BLOCK_DELETING_CONTAINER_LIMIT_PER_INTERVAL can be migrated to the new [style of configuration|https://cwiki.apache.org/confluence/display/HADOOP/Java-based+configuration+API].

ReplicationManager can be used as an example.

 1. create a static inner calss for configuration
 2. remove config keys from OzoneConfigKeys/ozone-default.xml
 3. pass the type-safe configuration object to the BlockDeletionService instead of the ConfigurationSource



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org