This is an automated email from the ASF dual-hosted git repository.
nihaljain pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new 340551b3e74 HBASE-29317 Bump hbase-thirdparty to 4.1.11 (#6993)
340551b3e74 is described below
commit 340551b3e747cb39af5713d006ad907d19392575
Author: Nihal Jain <[email protected]>
AuthorDate: Mon Jun 2 14:58:43 2025 +0530
HBASE-29317 Bump hbase-thirdparty to 4.1.11 (#6993)
* Update allowed_expr to allow `org/jspecify/annotation/*.class` which is
coming from guava due to
https://github.com/google/guava/commit/2cc8c5eddb587db3ac12dacdd5563e79a4681ec4
* Bump maven-shade-plugin to 3.6.0 as we see failure
`META-INF/versions/22/com/fasterxml/jackson/core/internal/shaded/fdp/v2_19_0/FastDoubleSwar.class:
java.lang.IllegalArgumentException: Unsupported class file major version 66`
due to
https://github.com/FasterXML/jackson-core/commit/7d8dc09bb772ffb0981e3dcf8e9d95b2273bd756
* Add `--should-stop=ifError=FLOW` as `compilerArgs`. This is required by
error prone >= 2.36.0, otherwise compile fails. See
https://github.com/google/error-prone/commit/e71db1f369a9367f6f2db34c4fbd006b6d6238fd
for details!
Signed-off-by: Istvan Toth <[email protected]>
(cherry picked from commit 899e4fc664a17eb405d1bf85296b9ae8a53900c7)
---
hbase-build-configuration/pom.xml | 2 ++
hbase-examples/pom.xml | 2 +-
.../src/test/resources/ensure-jars-have-correct-contents.sh | 3 ++-
.../src/test/resources/ensure-jars-have-correct-contents.sh | 3 ++-
hbase-shaded/pom.xml | 2 +-
pom.xml | 12 ++++++------
6 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/hbase-build-configuration/pom.xml
b/hbase-build-configuration/pom.xml
index 4bfe3124236..6201c71af68 100644
--- a/hbase-build-configuration/pom.xml
+++ b/hbase-build-configuration/pom.xml
@@ -92,6 +92,8 @@
<arg>-XDcompilePolicy=simple</arg>
<!-- All -Xep need to be on single line see:
https://github.com/google/error-prone/pull/1115 -->
<arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode
-XepExcludedPaths:.*/target/.* -Xep:FallThrough:OFF -Xep:MutablePublicArray:OFF
-Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR -Xep:BanJNDI:WARN</arg>
+ <!-- Required by error prone >= 2.36.0. See
https://github.com/google/error-prone/commit/e71db1f369a9367f6f2db34c4fbd006b6d6238fd
!-->
+ <arg>--should-stop=ifError=FLOW</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index 20c3e05b473..e33203e74d0 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -34,7 +34,7 @@
Version of protobuf that hbase uses internally (we shade our pb) Must
match what is out
in hbase-thirdparty include.
-->
- <internal.protobuf.version>4.28.2</internal.protobuf.version>
+ <internal.protobuf.version>4.30.2</internal.protobuf.version>
</properties>
<dependencies>
<dependency>
diff --git
a/hbase-shaded/hbase-shaded-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
b/hbase-shaded/hbase-shaded-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
index c6a923fb902..1d1350712b1 100644
---
a/hbase-shaded/hbase-shaded-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
+++
b/hbase-shaded/hbase-shaded-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
@@ -96,7 +96,8 @@ allowed_expr+="|^PropertyList-1.0.dtd$"
# Shaded jetty resources
allowed_expr+="|^about.html$"
allowed_expr+="|^jetty-dir.css$"
-
+# Coming from Guava, see
https://github.com/google/guava/commit/2cc8c5eddb587db3ac12dacdd5563e79a4681ec4
+allowed_expr+="|^org/jspecify/$|^org/jspecify/annotations/$|^org/jspecify/annotations/.*\.class$"
if [ -n "${allow_hadoop}" ]; then
# * classes in packages that start with org.apache.hadoop, which by
diff --git
a/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
b/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
index c6a923fb902..1d1350712b1 100644
---
a/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
+++
b/hbase-shaded/hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh
@@ -96,7 +96,8 @@ allowed_expr+="|^PropertyList-1.0.dtd$"
# Shaded jetty resources
allowed_expr+="|^about.html$"
allowed_expr+="|^jetty-dir.css$"
-
+# Coming from Guava, see
https://github.com/google/guava/commit/2cc8c5eddb587db3ac12dacdd5563e79a4681ec4
+allowed_expr+="|^org/jspecify/$|^org/jspecify/annotations/$|^org/jspecify/annotations/.*\.class$"
if [ -n "${allow_hadoop}" ]; then
# * classes in packages that start with org.apache.hadoop, which by
diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml
index 3ed84918a77..c1e43ea506c 100644
--- a/hbase-shaded/pom.xml
+++ b/hbase-shaded/pom.xml
@@ -90,7 +90,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>3.5.1</version>
+ <version>3.6.0</version>
<executions>
<execution>
<id>aggregate-into-a-jar-with-relocated-third-parties</id>
diff --git a/pom.xml b/pom.xml
index 506f074b569..9cc3ee94132 100644
--- a/pom.xml
+++ b/pom.xml
@@ -816,7 +816,7 @@
in the dependencyManagement section as it could still lead to different
versions of netty
modules and cause trouble if we only rely on transitive dependencies.
-->
- <netty4.version>4.1.119.Final</netty4.version>
+ <netty4.version>4.1.121.Final</netty4.version>
<!-- end HBASE-15925 default hadoop compatibility values -->
<audience-annotations.version>0.15.0</audience-annotations.version>
<javadoc.audience-annotations.version>0.15.0</javadoc.audience-annotations.version>
@@ -836,8 +836,8 @@
Note that the version of jackson-[annotations,core,databind] must be
kept in sync with the
version of jackson-jaxrs-json-provider shipped in hbase-thirdparty.
-->
- <jackson.version>2.17.2</jackson.version>
- <jackson.databind.version>2.17.2</jackson.databind.version>
+ <jackson.version>2.19.0</jackson.version>
+ <jackson.databind.version>2.19.0</jackson.databind.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<servlet.api.version>3.1.0</servlet.api.version>
<wx.rs.api.version>2.1.1</wx.rs.api.version>
@@ -855,7 +855,7 @@
Version of protobuf that hbase uses internally (we shade our pb) Must
match what is out
in hbase-thirdparty include.
-->
- <internal.protobuf.version>4.28.2</internal.protobuf.version>
+ <internal.protobuf.version>4.30.2</internal.protobuf.version>
<protobuf.plugin.version>0.6.1</protobuf.plugin.version>
<thrift.path>thrift</thrift.path>
<thrift.version>0.14.1</thrift.version>
@@ -881,7 +881,7 @@
-->
<checkstyle.version>8.29</checkstyle.version>
<exec.maven.version>3.1.0</exec.maven.version>
- <error-prone.version>2.28.0</error-prone.version>
+ <error-prone.version>2.38.0</error-prone.version>
<jamon.plugin.version>2.4.2</jamon.plugin.version>
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
<maven.antrun.version>1.8</maven.antrun.version>
@@ -915,7 +915,7 @@
databind] must be kept in sync with the version of
jackson-jaxrs-json-provider shipped in
hbase-thirdparty.
-->
- <hbase-thirdparty.version>4.1.10</hbase-thirdparty.version>
+ <hbase-thirdparty.version>4.1.11</hbase-thirdparty.version>
<!-- for.exclusion version are NOT for direct dependencies. To use the
provided
scope to transitively exclude some transitive dependencies, we need to
specify
some existing version to for maven. -->