Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10428

OzoneClientConfig#validate doesn't get called

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0, 1.4.1
    • None

    Description

      OzoneClientConfig#validate is annotated with @PostConstruct. It's supposed to be called by ConfigurationSource#getObject, but not.  The reason is OzoneClientConfig#validate declared as private method which will not be return in configurationClass.getMethods() call in ConfigurationReflectionUtil.callPostConstruct.

       

      Attachments

        Issue Links

          Activity

            People

              Sammi Sammi Chen
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: