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/14 01:27:35 UTC
[ambari] branch trunk updated: AMBARI-25776: The "Database Connectivity Warning" is incorrectly reported when Hive is installed in the initial cluster (#3483)
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 493de2d30d AMBARI-25776: The "Database Connectivity Warning" is incorrectly reported when Hive is installed in the initial cluster (#3483)
493de2d30d is described below
commit 493de2d30dc1a6dc1440ef5c5ccda7a1e1b88267
Author: Yu Hou <52...@qq.com>
AuthorDate: Mon Nov 14 09:27:26 2022 +0800
AMBARI-25776: The "Database Connectivity Warning" is incorrectly reported when Hive is installed in the initial cluster (#3483)
---
.../views/common/configs/widgets/test_db_connection_widget_view.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
index 4a715b9b52..d43182e9b0 100644
--- a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
@@ -188,7 +188,7 @@ App.TestDbConnectionWidgetView = App.ConfigWidgetView.extend({
connectToDatabase: function () {
if (this.get('isBtnDisabled')) return;
this.set('isRequestResolved', false);
- App.db.set('tmp', this.get('parentView.service.serviceName') + '_connection', {});
+ App.db.set('tmp', this.get('db_connection_url.serviceName') + '_connection', {});
this.setConnectingStatus(true);
if (App.get('testMode')) {
this.startPolling();
@@ -337,7 +337,7 @@ App.TestDbConnectionWidgetView = App.ConfigWidgetView.extend({
});
this.setResponseStatus('failed');
} else {
- App.db.set('tmp', this.get('parentView.service.serviceName') + '_connection', this.get('preparedDBProperties'));
+ App.db.set('tmp', this.get('db_connection_url.serviceName') + '_connection', this.get('preparedDBProperties'));
this.setResponseStatus('success');
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org