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

Ambari is overwriting the content of the topology script, even custom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • None
    • None

    Description

      Ambari is overwriting the contents of whatever net.topology.script.file.name
      is set to. This makes it impossible for a user to manage topology scripts on
      their own (if they have an existing script, it keeps getting blown over)

      <https://github.com/apache/ambari/blob/trunk/ambari-
      server/src/main/resources/stacks/HDP/2.0.6/hooks/before-
      START/scripts/params.py#L197>

      Regardless if net.topology.script.file.name is set, Ambari should only manage
      /etc/hadoop/conf/topology.py and NOT read the net.topology.script.file.name
      property and overwrite that file's content. If a user chooses to manage their
      own topology script and set that property accordingly, they should be ok doing
      that and Ambari should not touch it.

      Attachments

        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: