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

voonhous pushed a commit to tag rfc-105-pre-cleanup
in repository https://gitbox.apache.org/repos/asf/hudi.git

commit 932806b84f0e47e93a0d1949e958a353788ac3ba
Author: voon <[email protected]>
AuthorDate: Wed May 27 16:39:47 2026 +0800

    fix(trino): pin joda-time to 2.14.2 to unblock DateTimeZoneIndex clinit
    
    Hudi parent pins joda-time at 2.9.9 (released 2016). Trino's
    io.trino.util.DateTimeZoneIndex statically initializes a table of
    DateTimeZone instances by name, and the 2.9.9 tzdb does not contain all
    the IDs the modern Trino code path requests, so the class fails its
    <clinit>.
    
    Override joda-time to 2.14.2 (matches the airbase BOM) in plugin
    dependencyManagement.
---
 hudi-trino-plugin/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/hudi-trino-plugin/pom.xml b/hudi-trino-plugin/pom.xml
index 46c594359aba..c1f85550e7c6 100644
--- a/hudi-trino-plugin/pom.xml
+++ b/hudi-trino-plugin/pom.xml
@@ -85,6 +85,13 @@
                 <artifactId>jetty-server</artifactId>
                 <version>12.1.9</version>
             </dependency>
+            <!-- Hudi parent pins joda-time at 2.9.9 (from 2016). Trino's 
DateTimeZoneIndex
+                 clinit needs the newer time-zone names in 2.14.2 (matches 
airbase). -->
+            <dependency>
+                <groupId>joda-time</groupId>
+                <artifactId>joda-time</artifactId>
+                <version>2.14.2</version>
+            </dependency>
             <!-- Hudi parent pins jersey-server at 2.17 (legacy javax). Trino 
runs on Jersey 4.x
                  (jakarta). The mixed-version classpath crashes with 
NoSuchFieldError on
                  ComponentBag.INCLUDE_ALL during ResourceConfig init. -->

Reply via email to