From 8d97a5dfea4ffb86cedde2edfa43f3857e84ebd1 Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Thu, 11 Dec 2025 15:57:17 +0100 Subject: [PATCH 1/5] HBASE-29770 Exclude commons-logging from HBase --- pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pom.xml b/pom.xml index a5f11322bef9..447acdfcfd60 100644 --- a/pom.xml +++ b/pom.xml @@ -1514,6 +1514,12 @@ org.apache.httpcomponents httpclient ${httpclient.version} + + + commons-logging + commons-logging + + org.apache.httpcomponents @@ -1529,6 +1535,12 @@ commons-validator commons-validator ${commons-validator.version} + + + commons-logging + commons-logging + + commons-io @@ -4297,6 +4309,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + org.bouncycastle bcprov-jdk15on @@ -4358,6 +4374,10 @@ javax.ws.rs jsr311-api + + commons-logging + commons-logging + org.bouncycastle bcprov-jdk15on From 0f8d0193de7203b5b412d70bd0911d5452af0684 Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Fri, 12 Dec 2025 08:53:06 +0100 Subject: [PATCH 2/5] add missing jcl-over-slf4j dependency to hbase-diagnostics --- hbase-diagnostics/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hbase-diagnostics/pom.xml b/hbase-diagnostics/pom.xml index 844986faaa95..5f366ffccb5e 100644 --- a/hbase-diagnostics/pom.xml +++ b/hbase-diagnostics/pom.xml @@ -196,6 +196,11 @@ jul-to-slf4j test + + org.slf4j + jcl-over-slf4j + test + org.apache.logging.log4j log4j-1.2-api From e7c28e447f3feb31a36288bf14c46c6a49b04052 Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Mon, 5 Jan 2026 17:10:35 +0100 Subject: [PATCH 3/5] set banned-commons-logging rule to transitive --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 447acdfcfd60..bc3bb3d9d826 100644 --- a/pom.xml +++ b/pom.xml @@ -2490,7 +2490,7 @@ commons-logging:commons-logging We don't use commons-logging any more, so do not depend on it directly. - false + true From 6530482e12642f578f29851cb227bcecfcd3480b Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Tue, 6 Jan 2026 07:59:17 +0100 Subject: [PATCH 4/5] Add exclusions for Hadoop 3.3.6 and update exclusion rule message --- pom.xml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index bc3bb3d9d826..5f8c3b5e9c98 100644 --- a/pom.xml +++ b/pom.xml @@ -1562,14 +1562,6 @@ commons-cli ${commons-cli.version} - - - commons-logging - commons-logging - 1.2 - org.apache.zookeeper zookeeper @@ -2489,7 +2481,7 @@ commons-logging:commons-logging - We don't use commons-logging any more, so do not depend on it directly. + We don't use commons-logging any more, so do not depend on it directly. We are also using jcl-over-slf4j for libraries so exclude any transitive commons-logging dependencies. true @@ -4154,6 +4146,10 @@ org.openlabtesting.leveldbjni leveldbjni-all + + commons-logging + commons-logging + @@ -4207,6 +4203,10 @@ org.slf4j slf4j-reload4j + + commons-logging + commons-logging + @@ -4459,6 +4459,10 @@ org.bouncycastle bcpkix-jdk15on + + commons-logging + commons-logging +