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

Reply via email to