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

Improve the configuration API with using Java classes instead of constants

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            elek Marton Elek Assign to me
            elek Marton Elek

            Dates

              Created:
              Updated:

              Time Tracking

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

              Slack

                Issue deployment