You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John Speidel (JIRA)" <ji...@apache.org> on 2015/07/10 01:16:04 UTC

[jira] [Resolved] (AMBARI-12366) BP configuration methods getFullProperties() and getFullAttributes() may modify the underlying configuration in some cases

     [ https://issues.apache.org/jira/browse/AMBARI-12366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Speidel resolved AMBARI-12366.
-----------------------------------
    Resolution: Fixed

merged to trunk and branch-2.1

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