You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by AsterixDB Code Review <do...@asterix-gerrit.ics.uci.edu> on 2026/10/12 19:02:15 UTC

[S] Change in asterixdb[trinity]: [NO ISSUE][MISC] Advance hadoop to 3.5.0

From Michael Blow <mb...@apache.org>:

Michael Blow has uploaded this change for review. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/22074?usp=email )


Change subject: [NO ISSUE][MISC] Advance hadoop to 3.5.0
......................................................................

[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
---
M asterixdb/asterix-app/pom.xml
M asterixdb/pom.xml
M hyracks-fullstack/pom.xml
3 files changed, 15 insertions(+), 2 deletions(-)



  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/74/22074/1

diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index 5c95868..671c856 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 b5a2ce8..83a4f0b 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 bac062e..167c74e 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>

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/22074?usp=email
To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: asterixdb
Gerrit-Branch: trinity
Gerrit-Change-Id: I42307ecda4ab883144ef17f94365d7d0fc624d08
Gerrit-Change-Number: 22074
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Blow <mb...@apache.org>