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