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

jialiang 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 d7afab0c59 AMBARI-26130: Add mysql8 support for hive in Ambari (#3823)
d7afab0c59 is described below

commit d7afab0c599d8e2307b6d7c872f236943948bc76
Author: Will Guo <guov...@163.com>
AuthorDate: Sat Sep 7 17:54:20 2024 +0800

    AMBARI-26130: Add mysql8 support for hive in Ambari (#3823)
    
    * Add mysql8 support for hive in Ambari
    
    
    ---------
    
    Co-authored-by: guow34 <guo...@chinaunicom.cn>
---
 .../stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/params.py        | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/params.py
 
b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/params.py
index 2b752d47a8..13f95f3fd5 100644
--- 
a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/params.py
+++ 
b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/params.py
@@ -228,6 +228,9 @@ if hive_jdbc_driver == 
"com.microsoft.sqlserver.jdbc.SQLServerDriver":
 elif hive_jdbc_driver == "com.mysql.jdbc.Driver":
   jdbc_jar_name = default("/ambariLevelParams/custom_mysql_jdbc_name", None)
   hive_previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_mysql_jdbc_name", None)
+elif hive_jdbc_driver == "com.mysql.cj.jdbc.Driver":
+  jdbc_jar_name = default("/ambariLevelParams/custom_mysql_jdbc_name", None)
+  hive_previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_mysql_jdbc_name", None)
 elif hive_jdbc_driver == "org.postgresql.Driver":
   jdbc_jar_name = default("/ambariLevelParams/custom_postgres_jdbc_name", None)
   hive_previous_jdbc_jar_name = 
default("/ambariLevelParams/previous_custom_postgres_jdbc_name", None)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@ambari.apache.org
For additional commands, e-mail: commits-h...@ambari.apache.org

Reply via email to