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

OzoneConfiguration constructor overrides input configuration keys

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      OzoneConfiguration constructor which takes a configuration as parameter can override input configuration keys with default resources.

      public OzoneConfiguration(Configuration conf) {
        super(conf);
        //load the configuration from the classloader of the original conf.
        setClassLoader(conf.getClassLoader());
        if (!(conf instanceof OzoneConfiguration)) {
          loadDefaults();
        }
      }

      Attachments

        Activity

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

          People

            ljain Lokesh Jain Assign to me
            ljain Lokesh Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment