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

zhangbutao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new ccd9064ddc7 HIVE-28958: Tez job failed with: NoClassDefFoundError: 
org/locationtech/jts/geom/Geometry (#5818)
ccd9064ddc7 is described below

commit ccd9064ddc7ff38925230468186460e736478e1e
Author: Butao Zhang <[email protected]>
AuthorDate: Sun May 25 14:27:28 2025 +0800

    HIVE-28958: Tez job failed with: NoClassDefFoundError: 
org/locationtech/jts/geom/Geometry (#5818)
---
 pom.xml    | 7 -------
 ql/pom.xml | 5 +----
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/pom.xml b/pom.xml
index f7f5a80fe0e..0704fd90706 100644
--- a/pom.xml
+++ b/pom.xml
@@ -164,7 +164,6 @@
     <joda.version>2.13.0</joda.version>
     <jodd.version>6.0.0</jodd.version>
     <json.version>1.8</json.version>
-    <jts.version>1.19.0</jts.version>
     <junit.version>4.13.2</junit.version>
     <junit.jupiter.version>5.11.2</junit.jupiter.version>
     <junit.vintage.version>5.11.2</junit.vintage.version>
@@ -351,12 +350,6 @@
         <version>${immutables.version}</version>
         <scope>provided</scope>
       </dependency>
-      <dependency>
-        <groupId>org.locationtech.jts</groupId>
-        <artifactId>jts-core</artifactId>
-        <version>${jts.version}</version>
-        <scope>runtime</scope>
-      </dependency>
       <dependency>
         <groupId>com.sun.jersey</groupId>
         <artifactId>jersey-core</artifactId>
diff --git a/ql/pom.xml b/ql/pom.xml
index ab72ea4ba82..35260888c53 100644
--- a/ql/pom.xml
+++ b/ql/pom.xml
@@ -856,10 +856,6 @@
       <groupId>org.immutables</groupId>
       <artifactId>value-annotations</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.locationtech.jts</groupId>
-      <artifactId>jts-core</artifactId>
-    </dependency>
     <dependency>
       <groupId>com.sun.jersey.contribs</groupId>
       <artifactId>jersey-multipart</artifactId>
@@ -1109,6 +1105,7 @@
                   <include>com.esri.geometry:esri-geometry-api</include>
                   <include>org.roaringbitmap:RoaringBitmap</include>
                   <include>com.github.luben:zstd-jni</include>
+                  <include>org.locationtech.jts:jts-core</include>
                 </includes>
               </artifactSet>
               <filters>

Reply via email to