[
https://issues.apache.org/jira/browse/AMBARI-15254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176856#comment-15176856
]
Hudson commented on AMBARI-15254:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #4429 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4429/])
AMBARI-15254: Ambari config update does not handle removals properly
(bchaudhary:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f707cb50fd0f5616c74ff8b2f15917a6eda608c2])
* ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
*
ambari-server/src/test/java/org/apache/ambari/server/state/ConfigHelperTest.java
> Ambari config update does not handle removals properly
> ------------------------------------------------------
>
> Key: AMBARI-15254
> URL: https://issues.apache.org/jira/browse/AMBARI-15254
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk, 2.2.0
> Reporter: Lav Jain
> Assignee: Lav Jain
> Fix For: 2.3.0, 2.2.2
>
> Attachments: AMBARI-15254.branch22.patch, AMBARI-15254.patch
>
>
> ConfigHelper.updateConfigType takes in config_type (e.g. hdfs-site), map of
> updates (key value pairs) and a list of removals (properties).
> The current implementation is skipping the updates to configuration if the
> Map of updates is empty, even if there are properties to be removed.
> This is causing problem during disabling of kerberos for some components
> (like HAWQ) because some config parameters that are present in kerberos.json
> must be removed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)