[ 
https://issues.apache.org/jira/browse/AMBARI-25503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089599#comment-17089599
 ] 

Dmytro Grinenko commented on AMBARI-25503:
------------------------------------------

Not really understand the case.

 

{{ambari.properties}} contains the date, when the file were generated and it is 
placed in the comment section of the file, which should be ignored by any CMS, 
which understand the file format.  I don't think that it is a good idea to 
manage it as an text file.

 

> Ambari always rewrite the properties at startup
> -----------------------------------------------
>
>                 Key: AMBARI-25503
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25503
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.5
>            Reporter: Andrey Vazhenin
>            Priority: Critical
>
> The ambari.properties file is always saves by the ambari-server process at 
> startup and saves the timestamp at the file, so any configuration management 
> systems can't manage this file.
> [Save the timestamp 
> line|[https://github.com/apache/ambari/blob/5895e4ed6b30a2da8a90fee2403b6cab91d19972/ambari-server/src/main/python/ambari_server/properties.py#L201]].
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to