You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Lav Jain (JIRA)" <ji...@apache.org> on 2016/03/02 00:55:18 UTC

[jira] [Updated] (AMBARI-15254) Ambari config update does not handle removals properly

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

Lav Jain updated AMBARI-15254:
------------------------------
    Attachment: AMBARI-15254.patch

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