Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
According to the design doc in the parent issue we would like to support java configuration objects which are simple POJO but the fields/setters are annotated. As a first step we can introduce the OzoneConfiguration.getConfigObject() api which can create the config object and inject configuration.
Later we can improve it with annotation processor which can generate the ozone-default.xml.
Attachments
Issue Links
- links to
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16488 (See https://builds.apache.org/job/Hadoop-trunk-Commit/16488/)
HDDS-1468. Inject configuration values to Java objects (elek: rev a2887f5c23a695e74bb7693207e9240c8b94d8cf)