You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2022/11/28 14:20:15 UTC

[ambari] branch trunk updated: AMBARI-25421: SI Start failing when enabled from Hive>Configs tab (#3508)

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 <wu...@apache.org>
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: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org