YUBI LEE created AMBARI-26669:
---------------------------------

             Summary: Saving a non-default config group overwrites a config 
group of a dependent service
                 Key: AMBARI-26669
                 URL: https://issues.apache.org/jira/browse/AMBARI-26669
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
            Reporter: YUBI LEE


When saving a non-default config group of a service which has dependent 
services (e.g. SPARK -> YARN), ambari-web also saves the config group of the 
dependent service picked by setDependentConfigGroups. The picked group is 
overwritten with the overrides of all config groups of the dependent service.

- ConfigsSaverMixin#getConfigsForGroup concatenates the overrides of every 
config group without filtering by group. It is a regression since AMBARI-10324, 
which started loading all config groups of dependent services.
- An override of a property which is not saved in the default group (e.g. a 
property added to the stack after installation) is created without 
isFinal/savedIsFinal in MainServiceInfoConfigsController#addOverrides. Since 
savedIsFinal is null and isFinal is false, isOverriddenConfigsModified() always 
returns true and the group is saved even though nothing has changed.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to