diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
index 47b4adaf83..e3bb52365f 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
@@ -121,11 +121,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
com.zaxxer
HikariCP
-
- 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 c4dfd2f9d7..598cbffe3a 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -130,7 +130,6 @@
3.3.1
4.0.3
10.14.2.0
- 8.0.29
6.2.1.jre7
4.10.0
3.2.0
@@ -1842,11 +1841,6 @@
derby
${derby.version}
-
- mysql
- mysql-connector-java
- ${mysql-connector-java.version}
-
com.microsoft.sqlserver
mssql-jdbc