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

Refactor non-stack cluster-env configs to cluster settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.2
    • trunk, 3.0.0
    • ambari-server
    • None

    Description

      Following to be done as part of this JIRA:

      • Move all non-stack specific configs in cluster-env.xml to cluster-settings.xml
      • For example cluster-env/security_enabled is a cluster setting and shouldn't be associated with any stack/mpack.
          <property>
            <name>security_enabled</name>
            <value>false</value>
            <description>Hadoop Security</description>
            <on-ambari-upgrade add="true"/>
          </property>
        
      • Add new file as : /var/lib/ambari-server/resources/cluster-settings.xml which includes all the read only cluster specific settings.

      New API Endpoint serving the cluster-settings : api/v1/cluster_settings

      Followup work :

      Attachments

        Issue Links

          Activity

            People

              swapanshridhar Swapan Shridhar
              swapanshridhar Swapan Shridhar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: