This is an automated email from the ASF dual-hosted git repository.
jonathanhurley 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 464a5e8 [AMBARI-23355] Add Hive Service wizard shows incorrect path
for mysql driver in ambari-server setup command. (#779)
464a5e8 is described below
commit 464a5e887397232195536ed8fb180ad5a86a9ab5
Author: Jay Kumar SenSharma <[email protected]>
AuthorDate: Wed Oct 24 03:02:34 2018 +1100
[AMBARI-23355] Add Hive Service wizard shows incorrect path for mysql
driver in ambari-server setup command. (#779)
---
.../app/views/common/configs/widgets/combo_config_widget_view.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
b/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
index b9dfc51..599b678 100644
--- a/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
@@ -72,10 +72,11 @@ App.ComboConfigWidgetView = App.ConfigWidgetView.extend({
message: function () {
var selectedDb = dbUtils.getDBType(this.get('config.value'));
var dbData = dbInfo.dpPropertiesMap[selectedDb];
+ var driver_jar = dbData.sql_jar_connector ?
dbData.sql_jar_connector.split("/").pop() : 'driver.jar';
return
Em.I18n.t('services.service.config.database.msg.jdbcSetup.detailed').format(
dbData.db_name,
dbData.db_type,
- dbData.driver,
+ driver_jar,
dbData.driver_download_url,
dbData.driver_download_url,
dbData.driver_name,