You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by is...@apache.org on 2018/08/10 18:19:33 UTC

[ambari] 03/06: AMBARI-24246. Ambari does not pick the existing hive database from the jdbc url set

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

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

commit ce50c1a72afbb50be29613305ebe3c3dfdc2ebe1
Author: hiveww <hi...@gmail.com>
AuthorDate: Thu Jul 12 13:53:58 2018 +0300

    AMBARI-24246. Ambari does not pick the existing hive database from the jdbc url set
---
 ambari-web/app/mixins/common/configs/config_recommendation_parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
index 4d88c00..cd18159 100644
--- a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
+++ b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
@@ -170,7 +170,7 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations, {
           allowConfigUpdate = false;
         }
       }
-      if (prevRecommeneded !== config.get('value')) {
+      if (prevRecommeneded !== value) {
         allowConfigUpdate = false;
       }
       if (allowConfigUpdate) {