From dea53dad679e6123b7d004aef8a176c5d240cba7 Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Mon, 12 Jun 2023 15:31:03 -0700 Subject: [PATCH] HADOOP-18761. Remove mysql-connector-java (#5731) (cherry picked from commit e1bb4acd3686720da1a50676400f080cc9403922) --- hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml | 5 ----- .../router/security/token/SQLConnectionFactory.java | 1 - hadoop-project/pom.xml | 6 ------ 3 files changed, 12 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml index c23e396119..8eb6d9d519 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml @@ -97,11 +97,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> com.zaxxer HikariCP-java7 - - mysql - mysql-connector-java - provided - junit junit diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/security/token/SQLConnectionFactory.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/security/token/SQLConnectionFactory.java index a464cc8196..54c9cbcd42 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/security/token/SQLConnectionFactory.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/security/token/SQLConnectionFactory.java @@ -18,7 +18,6 @@ package org.apache.hadoop.hdfs.server.federation.router.security.token; -import com.mysql.cj.jdbc.MysqlDataSource; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; import java.sql.Connection; diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index d83d994623..a9b1f5ca10 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -134,7 +134,6 @@ 3.3.1 2.4.12 10.14.2.0 - 8.0.29 6.2.1.jre7 4.9.3 1.4.10 @@ -1868,11 +1867,6 @@ derby ${derby.version} - - mysql - mysql-connector-java - ${mysql-connector-java.version} - com.microsoft.sqlserver mssql-jdbc