You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2026/10/13 05:12:10 UTC

(asterixdb) 03/05: [NO ISSUE][MISC] Advance hadoop to 3.5.0

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit 2635c4de3eb0d45fff4df8ed691b7afba6759440
Author: Michael Blow <mi...@couchbase.com>
AuthorDate: Mon Oct 12 14:32:00 2026 -0400

    [NO ISSUE][MISC] Advance hadoop to 3.5.0
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
     - org.apache.hadoop: 3.4.3 -> 3.5.0
    
    hadoop 3.5.0 builds against awssdk 2.35.4, older than the awssdk already
    managed here, so the pairing that keeps S3A initialising holds. It
    replaces Jersey 1 with Jersey 2 in hadoop-common's web layer, which
    changes the jars asterix-server packages.
    
    Jersey 2 also brings jakarta.annotation-api 1.3.5 onto asterix-app's
    test classpath, where it wins over the 3.x S3Mock's embedded Tomcat
    needs; asterix-app now manages it to 3.0.0.
    
    Ext-ref: MB-73268
    Generated-by: Claude Opus 5.5 <no...@anthropic.com>
    Change-Id: I42307ecda4ab883144ef17f94365d7d0fc624d08
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/22074
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Michael Blow <mb...@apache.org>
---
 asterixdb/asterix-app/pom.xml | 13 +++++++++++++
 asterixdb/pom.xml             |  2 +-
 hyracks-fullstack/pom.xml     |  2 +-
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index 5c95868bcb..671c856a26 100644
--- a/asterixdb/asterix-app/pom.xml
+++ b/asterixdb/asterix-app/pom.xml
@@ -503,6 +503,19 @@
       </build>
     </profile>
   </profiles>
+  <dependencyManagement>
+    <dependencies>
+      <!-- Jersey 2 (from hadoop's test jars) asks for jakarta.annotation-api 1.3.5, which is
+           still the javax.annotation package and would win by nearness over the 3.x that
+           S3Mock's embedded Tomcat needs, so S3Mock fails to start. javax.annotation-api
+           already supplies what Jersey uses. -->
+      <dependency>
+        <groupId>jakarta.annotation</groupId>
+        <artifactId>jakarta.annotation-api</artifactId>
+        <version>3.0.0</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
   <dependencies>
     <dependency>
       <groupId>org.apache.hyracks</groupId>
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index b5a2ce8220..83a4f0b77e 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -90,7 +90,7 @@
          together: advancing hadoop alone throws NoSuchFieldError on the thread
          compiling the query, which halts the JVM. -->
     <!-- @pinned-with: ${awsjavasdk.version} -->
-    <hadoop.version>3.4.3</hadoop.version>
+    <hadoop.version>3.5.0</hadoop.version>
     <jacoco.version>0.7.6.201602180812</jacoco.version>
     <log4j.version>2.26.1</log4j.version>
     <awsjavasdk.version>2.55.14</awsjavasdk.version>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index bac062eb45..167c74ebca 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -74,7 +74,7 @@
          together: advancing hadoop alone throws NoSuchFieldError on the thread
          compiling the query, which halts the JVM. -->
     <!-- @pinned-with: ${awsjavasdk.version} -->
-    <hadoop.version>3.4.3</hadoop.version>
+    <hadoop.version>3.5.0</hadoop.version>
     <jacoco.version>0.7.6.201602180812</jacoco.version>
     <log4j.version>2.26.1</log4j.version>
     <snappy.version>1.1.10.8</snappy.version>