You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2017/09/22 11:07:00 UTC

[jira] [Comment Edited] (AMBARI-22040) configs.py does not work properly when dealing with files

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

Andrew Onischuk edited comment on AMBARI-22040 at 9/22/17 11:06 AM:
--------------------------------------------------------------------

Committed to trunk and branch-2.6


was (Author: aonishuk):
Committed to branch-2.6

> configs.py does not work properly when dealing with files
> ---------------------------------------------------------
>
>                 Key: AMBARI-22040
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22040
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-22040.patch
>
>
> configs.py is used by users and support folks for modifying
> configurations. While this works well for getting and setting individual
> properties, it does not work well for dealing with json files. This is needed
> for edits to *env.sh or stack_features.
> _Current behavior_:
>   * Exporting ams-grafana-env does not give a properly formatted json file
>   * Cannot use a get change the json and set it back.
> The expected behavior is to let the user modify the json file and re-import it
> into the cluster.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)