You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Swapan Shridhar (JIRA)" <ji...@apache.org> on 2017/10/10 22:41:00 UTC

[jira] [Updated] (AMBARI-22196) Refactor non-stack cluster-env configs to cluster settings

     [ https://issues.apache.org/jira/browse/AMBARI-22196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swapan Shridhar updated AMBARI-22196:
-------------------------------------
    Description: 
Work involved.
- Move all non-stack specific configs in cluster-env to "cluster-settings"
- For example cluster-env/security_enabled is a cluster setting and shouldn't be associated with any stack/mpack. 
{code}
  <property>
    <name>security_enabled</name>
    <value>false</value>
    <description>Hadoop Security</description>
    <on-ambari-upgrade add="true"/>
  </property>
{code}

- Add new file as : {{/var/lib/ambari-server/resources/cluster-settings.xml}} which includes all the read only cluster specific settings.

- *Cluster Settings* All cluster wide settings from cluster-env config type should be moved out of stack definitions into /var/lib/ambari-server/resources/cluster-settings.xml

*New API Endpoint*
api/v1/cluster_settings


> Refactor non-stack cluster-env configs to cluster settings
> ----------------------------------------------------------
>
>                 Key: AMBARI-22196
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22196
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.2
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>            Priority: Critical
>             Fix For: trunk, 3.0.0
>
>
> Work involved.
> - Move all non-stack specific configs in cluster-env to "cluster-settings"
> - For example cluster-env/security_enabled is a cluster setting and shouldn't be associated with any stack/mpack. 
> {code}
>   <property>
>     <name>security_enabled</name>
>     <value>false</value>
>     <description>Hadoop Security</description>
>     <on-ambari-upgrade add="true"/>
>   </property>
> {code}
> - Add new file as : {{/var/lib/ambari-server/resources/cluster-settings.xml}} which includes all the read only cluster specific settings.
> - *Cluster Settings* All cluster wide settings from cluster-env config type should be moved out of stack definitions into /var/lib/ambari-server/resources/cluster-settings.xml
> *New API Endpoint*
> api/v1/cluster_settings



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)