ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12366) BP configuration methods getFullProperties() and getFullAttributes() may modify the underlying configuration in some cases
Date Thu, 09 Jul 2015 21:44:07 GMT
John Speidel created AMBARI-12366:
-------------------------------------

             Summary: BP configuration methods getFullProperties() and getFullAttributes()
may modify the underlying configuration in some cases
                 Key: AMBARI-12366
                 URL: https://issues.apache.org/jira/browse/AMBARI-12366
             Project: Ambari
          Issue Type: Bug
          Components: blueprints
    Affects Versions: 2.1.0
            Reporter: John Speidel
            Assignee: John Speidel
            Priority: Critical
             Fix For: 2.1.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message