Gargi-jais11 commented on code in PR #9460:
URL: https://github.com/apache/ozone/pull/9460#discussion_r2597552289


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/fs/DedicatedDiskSpaceUsageFactory.java:
##########
@@ -61,7 +61,7 @@ public static class Conf {
     private static final String REFRESH_PERIOD = "refresh.period";
 
     @Config(
-        key = REFRESH_PERIOD,
+        key = "hdds.datanode.df.refresh.period",

Review Comment:
   Please reuse existing parameters
   ```suggestion
           key = CONFIG_PREFIX + "." + REFRESH_PERIOD,
   ```



##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/fs/SpaceUsageCheckFactory.java:
##########
@@ -131,7 +131,7 @@ class Conf {
     private static final String CLASSNAME_KEY = "classname";
 
     @Config(
-        key = CLASSNAME_KEY,
+        key = "hdds.datanode.du.factory.classname",

Review Comment:
   Please reuse the existing parmaters:
   
   ```suggestion
           key = CONFIG_PREFIX + "." + CLASSNAME_KEY,
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to