You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2019/11/22 08:24:22 UTC

[ambari] branch branch-2.7 updated: AMBARI-25421. SI Start failing when enabled from Hive>Configs tab

This is an automated email from the ASF dual-hosted git repository.

alexantonenko pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new d740035  AMBARI-25421. SI Start failing when enabled from Hive>Configs tab
     new da6150c  Merge pull request #3137 from hiveww/AMBARI-25421-branch-2.7
d740035 is described below

commit d740035e5fa892ace92abd2e171b92ca14b3ed6a
Author: Alex Antonenko <aa...@hortonworks.com>
AuthorDate: Thu Nov 21 19:03:19 2019 +0200

    AMBARI-25421. SI Start failing when enabled from Hive>Configs tab
---
 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 9bd1ba2..6b25886 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');