This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new c352ed87f6 AMBARI-25421: SI Start failing when enabled from
Hive>Configs tab (#3508)
c352ed87f6 is described below
commit c352ed87f6aa73a09c7c71928834ad5cd49d850d
Author: Zhiguo Wu <[email protected]>
AuthorDate: Mon Nov 28 22:20:07 2022 +0800
AMBARI-25421: SI Start failing when enabled from Hive>Configs tab (#3508)
---
ambari-web/app/mixins/common/configs/enhanced_configs.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ambari-web/app/mixins/common/configs/enhanced_configs.js
b/ambari-web/app/mixins/common/configs/enhanced_configs.js
index 9bd1ba26fe..6b25886d2e 100644
--- a/ambari-web/app/mixins/common/configs/enhanced_configs.js
+++ b/ambari-web/app/mixins/common/configs/enhanced_configs.js
@@ -221,7 +221,8 @@ App.EnhancedConfigsMixin =
Em.Mixin.create(App.ConfigWithOverrideRecommendationP
var updateDependencies = Em.isArray(changedConfigs) &&
changedConfigs.length > 0;
var stepConfigs = this.get('stepConfigs');
var requiredTags = [];
- const isAutoComplete = Boolean(this.get('isRecommendationsAutoComplete'));
+ const isAutoComplete = !updateDependencies;
+ this.set('isRecommendationsAutoComplete', isAutoComplete);
if (updateDependencies || Em.isNone(this.get('recommendationsConfigs'))) {
var recommendations = isAutoComplete ? {} : this.get('hostGroups');
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]