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

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

SUCCESS: Integrated in Ambari-branch-2.1 #203 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/203/])
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=719d16cd5d3db25c22d86389e73a82958a22225a)
* 
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