From 95d0ed5c99aa4c4ea87446b552680a5f453565ab Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Thu, 11 Dec 2025 09:55:22 +0100 Subject: [PATCH 1/2] HBASE-29769 Upgrade to SLF4j 2.x --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0fdbd2145a5a..71316d3bf014 100644 --- a/pom.xml +++ b/pom.xml @@ -917,7 +917,7 @@ 0.14.1 3.8.4 2.11 - 1.7.30 + 2.0.17 4.0.3 1.5.4 From cc086b74e940f38430e1c57ab1bb2ef45b0e3e7e Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Thu, 11 Dec 2025 15:32:40 +0100 Subject: [PATCH 2/2] update to latest slf4j and use log4j2 specific adapter artifact --- hbase-archetypes/hbase-client-project/pom.xml | 2 +- hbase-archetypes/hbase-shaded-client-project/pom.xml | 2 +- hbase-assembly-byo-hadoop/pom.xml | 2 +- hbase-assembly/pom.xml | 2 +- hbase-asyncfs/pom.xml | 2 +- hbase-backup/pom.xml | 2 +- hbase-balancer/pom.xml | 2 +- hbase-client/pom.xml | 2 +- hbase-common/pom.xml | 2 +- hbase-compression/hbase-compression-aircompressor/pom.xml | 2 +- hbase-compression/hbase-compression-brotli/pom.xml | 2 +- hbase-compression/hbase-compression-lz4/pom.xml | 2 +- hbase-compression/hbase-compression-snappy/pom.xml | 2 +- hbase-compression/hbase-compression-zstd/pom.xml | 2 +- hbase-dev-generate-classpath/pom.xml | 2 +- hbase-endpoint/pom.xml | 2 +- hbase-examples/pom.xml | 2 +- hbase-external-blockcache/pom.xml | 2 +- hbase-hadoop-compat/pom.xml | 2 +- hbase-hbtop/pom.xml | 2 +- hbase-http/pom.xml | 2 +- hbase-it/pom.xml | 2 +- hbase-logging/pom.xml | 2 +- hbase-mapreduce/pom.xml | 2 +- hbase-metrics-api/pom.xml | 2 +- hbase-metrics/pom.xml | 2 +- hbase-procedure/pom.xml | 2 +- hbase-replication/pom.xml | 2 +- hbase-rest/pom.xml | 2 +- hbase-server/pom.xml | 2 +- hbase-shaded/hbase-shaded-check-invariants/pom.xml | 2 +- hbase-shaded/hbase-shaded-testing-util-tester/pom.xml | 2 +- .../hbase-shaded-with-hadoop-check-invariants/pom.xml | 2 +- hbase-shaded/pom.xml | 2 +- hbase-shell/pom.xml | 2 +- hbase-testing-util/pom.xml | 2 +- hbase-thrift/pom.xml | 2 +- hbase-zookeeper/pom.xml | 2 +- pom.xml | 6 +++--- 39 files changed, 41 insertions(+), 41 deletions(-) diff --git a/hbase-archetypes/hbase-client-project/pom.xml b/hbase-archetypes/hbase-client-project/pom.xml index 88115c1d552c..920f804a4614 100644 --- a/hbase-archetypes/hbase-client-project/pom.xml +++ b/hbase-archetypes/hbase-client-project/pom.xml @@ -72,7 +72,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl runtime diff --git a/hbase-archetypes/hbase-shaded-client-project/pom.xml b/hbase-archetypes/hbase-shaded-client-project/pom.xml index 8f6105421b9e..ad805997e0b3 100644 --- a/hbase-archetypes/hbase-shaded-client-project/pom.xml +++ b/hbase-archetypes/hbase-shaded-client-project/pom.xml @@ -78,7 +78,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl runtime diff --git a/hbase-assembly-byo-hadoop/pom.xml b/hbase-assembly-byo-hadoop/pom.xml index c44399e76771..563e35f17164 100644 --- a/hbase-assembly-byo-hadoop/pom.xml +++ b/hbase-assembly-byo-hadoop/pom.xml @@ -295,7 +295,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl org.apache.logging.log4j diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml index 48380c483244..42b62bc6c8bf 100644 --- a/hbase-assembly/pom.xml +++ b/hbase-assembly/pom.xml @@ -195,7 +195,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl org.apache.logging.log4j diff --git a/hbase-asyncfs/pom.xml b/hbase-asyncfs/pom.xml index d209a1f408a1..482f993fe679 100644 --- a/hbase-asyncfs/pom.xml +++ b/hbase-asyncfs/pom.xml @@ -131,7 +131,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-backup/pom.xml b/hbase-backup/pom.xml index 7cac75f88d2b..46fecad57921 100644 --- a/hbase-backup/pom.xml +++ b/hbase-backup/pom.xml @@ -154,7 +154,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-balancer/pom.xml b/hbase-balancer/pom.xml index bd7fd01794d7..46b18c18e6c8 100644 --- a/hbase-balancer/pom.xml +++ b/hbase-balancer/pom.xml @@ -120,7 +120,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index 4e118f651667..08b1b8e217a5 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -153,7 +153,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index 7477d5358c9b..df86c753ba12 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -173,7 +173,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-compression/hbase-compression-aircompressor/pom.xml b/hbase-compression/hbase-compression-aircompressor/pom.xml index b1e90583d533..151b0299e411 100644 --- a/hbase-compression/hbase-compression-aircompressor/pom.xml +++ b/hbase-compression/hbase-compression-aircompressor/pom.xml @@ -112,7 +112,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-compression/hbase-compression-brotli/pom.xml b/hbase-compression/hbase-compression-brotli/pom.xml index f8d3be671122..8b6deeadb514 100644 --- a/hbase-compression/hbase-compression-brotli/pom.xml +++ b/hbase-compression/hbase-compression-brotli/pom.xml @@ -97,7 +97,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-compression/hbase-compression-lz4/pom.xml b/hbase-compression/hbase-compression-lz4/pom.xml index 69bb74a71ecc..7f38b8c592f1 100644 --- a/hbase-compression/hbase-compression-lz4/pom.xml +++ b/hbase-compression/hbase-compression-lz4/pom.xml @@ -96,7 +96,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-compression/hbase-compression-snappy/pom.xml b/hbase-compression/hbase-compression-snappy/pom.xml index a514480329aa..a95246efeb6e 100644 --- a/hbase-compression/hbase-compression-snappy/pom.xml +++ b/hbase-compression/hbase-compression-snappy/pom.xml @@ -96,7 +96,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-compression/hbase-compression-zstd/pom.xml b/hbase-compression/hbase-compression-zstd/pom.xml index 3560fe7b008d..8e38f4237bc0 100644 --- a/hbase-compression/hbase-compression-zstd/pom.xml +++ b/hbase-compression/hbase-compression-zstd/pom.xml @@ -96,7 +96,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-dev-generate-classpath/pom.xml b/hbase-dev-generate-classpath/pom.xml index 2f81f6a88abf..50abc4515d7a 100644 --- a/hbase-dev-generate-classpath/pom.xml +++ b/hbase-dev-generate-classpath/pom.xml @@ -220,7 +220,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl org.apache.logging.log4j diff --git a/hbase-endpoint/pom.xml b/hbase-endpoint/pom.xml index 93f23bddadf7..64957764e350 100644 --- a/hbase-endpoint/pom.xml +++ b/hbase-endpoint/pom.xml @@ -194,7 +194,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index fab0d719fadc..8067819c7a56 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -195,7 +195,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-external-blockcache/pom.xml b/hbase-external-blockcache/pom.xml index 090546b68da6..f236100ff3d8 100644 --- a/hbase-external-blockcache/pom.xml +++ b/hbase-external-blockcache/pom.xml @@ -70,7 +70,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml index eed2c02391f6..a8b8137d0251 100644 --- a/hbase-hadoop-compat/pom.xml +++ b/hbase-hadoop-compat/pom.xml @@ -113,7 +113,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-hbtop/pom.xml b/hbase-hbtop/pom.xml index b9d9c376faa2..535bdcbef689 100644 --- a/hbase-hbtop/pom.xml +++ b/hbase-hbtop/pom.xml @@ -112,7 +112,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-http/pom.xml b/hbase-http/pom.xml index d64e6cd7fa84..898d7a5ffb56 100644 --- a/hbase-http/pom.xml +++ b/hbase-http/pom.xml @@ -171,7 +171,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 2e32864afa6f..d98bedb2737d 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -168,7 +168,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-logging/pom.xml b/hbase-logging/pom.xml index a1521eb750ba..561e0374b3ff 100644 --- a/hbase-logging/pom.xml +++ b/hbase-logging/pom.xml @@ -84,7 +84,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-mapreduce/pom.xml b/hbase-mapreduce/pom.xml index 9854ccf98330..a686d03ea23f 100644 --- a/hbase-mapreduce/pom.xml +++ b/hbase-mapreduce/pom.xml @@ -218,7 +218,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-metrics-api/pom.xml b/hbase-metrics-api/pom.xml index 5c6e65f66fc7..9818b7f94a8f 100644 --- a/hbase-metrics-api/pom.xml +++ b/hbase-metrics-api/pom.xml @@ -115,7 +115,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-metrics/pom.xml b/hbase-metrics/pom.xml index cefc26829359..f5673aeefc90 100644 --- a/hbase-metrics/pom.xml +++ b/hbase-metrics/pom.xml @@ -129,7 +129,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-procedure/pom.xml b/hbase-procedure/pom.xml index 58759881c8ec..a745322d563a 100644 --- a/hbase-procedure/pom.xml +++ b/hbase-procedure/pom.xml @@ -127,7 +127,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-replication/pom.xml b/hbase-replication/pom.xml index 15c5abe11070..63ef90466126 100644 --- a/hbase-replication/pom.xml +++ b/hbase-replication/pom.xml @@ -156,7 +156,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 4797de9ef89f..59240e1f8f32 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -257,7 +257,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 295bb27f16b3..a8cc4845a7f3 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -328,7 +328,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-shaded/hbase-shaded-check-invariants/pom.xml b/hbase-shaded/hbase-shaded-check-invariants/pom.xml index 51afd3a5b001..d76d766a3cd9 100644 --- a/hbase-shaded/hbase-shaded-check-invariants/pom.xml +++ b/hbase-shaded/hbase-shaded-check-invariants/pom.xml @@ -65,7 +65,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl provided diff --git a/hbase-shaded/hbase-shaded-testing-util-tester/pom.xml b/hbase-shaded/hbase-shaded-testing-util-tester/pom.xml index 97950ed9f2d2..cdbf7e64dcae 100644 --- a/hbase-shaded/hbase-shaded-testing-util-tester/pom.xml +++ b/hbase-shaded/hbase-shaded-testing-util-tester/pom.xml @@ -81,7 +81,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml b/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml index bc77916b6324..88fa80d6578b 100644 --- a/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml +++ b/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml @@ -55,7 +55,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl provided diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml index 33d7ec6ec687..965e545a22cb 100644 --- a/hbase-shaded/pom.xml +++ b/hbase-shaded/pom.xml @@ -66,7 +66,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl true diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml index fb699554fc06..3072e13ac6de 100644 --- a/hbase-shell/pom.xml +++ b/hbase-shell/pom.xml @@ -116,7 +116,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-testing-util/pom.xml b/hbase-testing-util/pom.xml index d3d5bf9ef11e..3d836d13bccd 100644 --- a/hbase-testing-util/pom.xml +++ b/hbase-testing-util/pom.xml @@ -143,7 +143,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index cfb59dfe01f8..b031c3e77da8 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -145,7 +145,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/hbase-zookeeper/pom.xml b/hbase-zookeeper/pom.xml index 81c61dfa278e..71cc5a971be6 100644 --- a/hbase-zookeeper/pom.xml +++ b/hbase-zookeeper/pom.xml @@ -151,7 +151,7 @@ org.apache.logging.log4j - log4j-slf4j-impl + log4j-slf4j2-impl test diff --git a/pom.xml b/pom.xml index 71316d3bf014..69f81e82abe0 100644 --- a/pom.xml +++ b/pom.xml @@ -904,7 +904,7 @@ 1.49.0 1.29.0-alpha 2.15.0 - 2.17.2 + 2.25.2 4.11.0 1.15.11