Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22040

configs.py does not work properly when dealing with files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

      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.

      Attachments

        1. AMBARI-22040.patch
          11 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: