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:35 UTC

[ambari] 05/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 5c9c386565ffd8a4b96c6c2ea0a56a47be19f86d
Author: Alex Antonenko <aa...@hortonworks.com>
AuthorDate: Thu Jul 12 15:05:49 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 7d18574..74aeacd 100644
--- a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
+++ b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
@@ -158,7 +158,7 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations, {
         fileName = Em.get(config, 'filename'),
         group = Em.get(config, 'group.name'),
         value = Em.get(config, 'value'),
-        prevRecommeneded = config.get('recommendedValue');
+        prevRecommeneded = Em.get(config, 'recommendedValue');
     Em.set(config, 'recommendedValue', recommendedValue);
     if (this.allowUpdateProperty(parentProperties, name, fileName, group, value)) {
       var allowConfigUpdate = true;