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

[jira] [Commented] (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=16176304#comment-16176304 ] 

Hudson commented on AMBARI-22040:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #273 (See [https://builds.apache.org/job/Ambari-branch-2.6/273/])
AMBARI-22040. configs.py does not work properly when dealing with files (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=29e6213d12facc22045f7c01db8d743440431d47])
* (edit) ambari-server/src/main/resources/scripts/configs.py
* (edit) ambari-server/src/main/resources/scripts/configs.sh


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