ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11790) Configuration.removeProperty() should remove all occurrences of the given property
Date Mon, 08 Jun 2015 19:56:01 GMT

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

Hudson commented on AMBARI-11790:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2858 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2858/])
AMBARI-11790. Remove all occurrences of a property from a configuration hierarchy (jspeidel:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6a9d590aaeeb24045a62fa3780582dbb51a7521f)
* ambari-server/src/test/java/org/apache/ambari/server/topology/ConfigurationTest.java
* ambari-server/src/main/java/org/apache/ambari/server/topology/Configuration.java


> Configuration.removeProperty() should remove all occurrences of the given property
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-11790
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11790
>             Project: Ambari
>          Issue Type: Bug
>          Components: blueprints
>    Affects Versions: ambari-2.1.0
>            Reporter: John Speidel
>            Assignee: John Speidel
>            Priority: Critical
>             Fix For: ambari-2.1.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If a property exists at multiple levels in a configuration such as in a blueprint and
in the stack, only the most advanced occurrence of the property is removed, which in this
case would be the blueprint configuration.  Instead, all occurrences of the property should
be removed from the config hierarchy such that a subsequent call to getPropertyValue() for
the removed property would return null.



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

Mime
View raw message