Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12366

BP configuration methods getFullProperties() and getFullAttributes() may modify the underlying configuration in some cases

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • blueprints
    • None

    Description

      In some cases the methods getFullProperties() and getFullAttributes() in the Configuration class modify the underlying configuration. In one path, a deep copy isn't being properly done on the configuration maps so the underlying map is being modified. This can cause a host group configuration to be set on the cluster scoped configuration.

      Attachments

        Activity

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

          People

            jspeidel John Speidel
            jspeidel John Speidel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment