adoroszlai opened a new pull request, #5995: URL: https://github.com/apache/ozone/pull/5995
## What changes were proposed in this pull request? Check fields annotated with `@Config` in classes with `@ConfigGroup` such that the `Config#key` field does not begin with the `ConfigGroup#prefix`. https://issues.apache.org/jira/browse/HDDS-10125 ## How was this patch tested? Verified that build fails without the fix for HDDS-10105: ``` [INFO] --- maven-compiler-plugin:3.9.0:compile (default-compile) @ hdds-container-service --- ... [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeConfiguration.java:[39,8] @Config(key = "hdds.datanode.check.empty.container.dir.on.delete") should not duplicate prefix from @ConfigGroup("hdds.datanode") [INFO] 1 error [INFO] ------------------------------------------------------------- ``` https://github.com/adoroszlai/ozone/actions/runs/7517992062/job/20464810977#step:6:1511 and passes with the fix for HDDS-10105: https://github.com/adoroszlai/ozone/actions/runs/7518332900 -- 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]
