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

Improve the configuration API with using Java classes instead of constants

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      As of now we use the API in Configuration api from hadoop-common. We propose to use additional wrapper to get configured Objects instead of constants to make the configuration more structured and type safe.

      The ozone-default.xml can be generated with annotation processor.

      Please see the attached design doc about more details.

      Attachments

        1. typesafe.pdf
          202 kB
          Marton Elek

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h 40m
                7h 40m