ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <>
Subject [jira] [Reopened] (AMBARI-22040) does not work properly when dealing with files
Date Mon, 25 Sep 2017 07:10:00 GMT


Doroszlai, Attila reopened AMBARI-22040:

Hi [~aonishuk], a bunch of python unit tests are failing due to changes in  Can
you please check?

ERROR: test_delete_config (TestConfigs.TestConfigs)
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/",
line 1199, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/",
line 163, in test_delete_config
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/../../main/resources/scripts/",
line 327, in main
    parser.error("One of required options is not passed")
  File "/usr/lib/python2.7/", line 1584, in error
    self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
  File "/usr/lib/python2.7/", line 1574, in exit
SystemExit: 2

> does not work properly when dealing with files
> ---------------------------------------------------------
>                 Key: AMBARI-22040
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.6.0
>         Attachments: AMBARI-22040.patch
> 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 * 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

View raw message