[ 
https://issues.apache.org/jira/browse/AMBARI-12366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621531#comment-14621531
 ] 

Hudson commented on AMBARI-12366:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3092 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/3092/])
AMBARI-12366.  Fix issue where the BP configuration is modified on a getter 
invocation (jspeidel: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ba21f89881d80de8be1256336fa6f655db02fd54)
* 
ambari-server/src/test/java/org/apache/ambari/server/topology/ConfigurationTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/Configuration.java


> 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)

Reply via email to