From ab9599637c4264683bd92e8d487583b23d71ac7b Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Wed, 28 Jan 2026 23:09:55 -0800 Subject: [PATCH 1/3] feat: bump lance to 2.0.0-rc.3 --- java/lance-namespace-glue/pom.xml | 13 ------------- java/lance-namespace-hive2/pom.xml | 12 ------------ java/lance-namespace-hive3/pom.xml | 12 ------------ java/lance-namespace-iceberg/pom.xml | 13 ------------- java/lance-namespace-impls-core/pom.xml | 6 ------ java/lance-namespace-polaris/pom.xml | 12 ------------ java/lance-namespace-unity/pom.xml | 14 ------------- java/pom.xml | 26 +++++++++---------------- 8 files changed, 9 insertions(+), 99 deletions(-) diff --git a/java/lance-namespace-glue/pom.xml b/java/lance-namespace-glue/pom.xml index 392c7b6..146f043 100644 --- a/java/lance-namespace-glue/pom.xml +++ b/java/lance-namespace-glue/pom.xml @@ -22,19 +22,6 @@ - - org.lance - lance-core - - - org.lance - lance-namespace-core - - - org.lance - lance-namespace-apache-client - - software.amazon.awssdk glue diff --git a/java/lance-namespace-hive2/pom.xml b/java/lance-namespace-hive2/pom.xml index 7a9b4f0..50577f7 100644 --- a/java/lance-namespace-hive2/pom.xml +++ b/java/lance-namespace-hive2/pom.xml @@ -18,18 +18,6 @@ jar - - org.lance - lance-core - - - org.lance - lance-namespace-core - - - org.lance - lance-namespace-apache-client - org.apache.hive hive-metastore diff --git a/java/lance-namespace-hive3/pom.xml b/java/lance-namespace-hive3/pom.xml index 7949e29..a455e9b 100644 --- a/java/lance-namespace-hive3/pom.xml +++ b/java/lance-namespace-hive3/pom.xml @@ -18,18 +18,6 @@ jar - - org.lance - lance-core - - - org.lance - lance-namespace-core - - - org.lance - lance-namespace-apache-client - org.apache.hive hive-standalone-metastore diff --git a/java/lance-namespace-iceberg/pom.xml b/java/lance-namespace-iceberg/pom.xml index 351edfc..03527e7 100644 --- a/java/lance-namespace-iceberg/pom.xml +++ b/java/lance-namespace-iceberg/pom.xml @@ -22,19 +22,6 @@ org.lance lance-namespace-impls-core - - org.lance - lance-core - - - org.lance - lance-namespace-core - - - org.lance - lance-namespace-apache-client - - com.fasterxml.jackson.core diff --git a/java/lance-namespace-impls-core/pom.xml b/java/lance-namespace-impls-core/pom.xml index 874024b..94cf026 100644 --- a/java/lance-namespace-impls-core/pom.xml +++ b/java/lance-namespace-impls-core/pom.xml @@ -15,12 +15,6 @@ Core utilities for Lance Namespace implementations including RestClient - - - org.lance - lance-namespace-core - - org.apache.httpcomponents.client5 diff --git a/java/lance-namespace-polaris/pom.xml b/java/lance-namespace-polaris/pom.xml index 4d05466..eb68433 100644 --- a/java/lance-namespace-polaris/pom.xml +++ b/java/lance-namespace-polaris/pom.xml @@ -35,18 +35,6 @@ org.lance lance-namespace-impls-core - - org.lance - lance-core - - - org.lance - lance-namespace-core - - - org.lance - lance-namespace-apache-client - com.fasterxml.jackson.core jackson-databind diff --git a/java/lance-namespace-unity/pom.xml b/java/lance-namespace-unity/pom.xml index 7cc67c3..d3367ff 100644 --- a/java/lance-namespace-unity/pom.xml +++ b/java/lance-namespace-unity/pom.xml @@ -22,20 +22,6 @@ org.lance lance-namespace-impls-core - - org.lance - lance-core - - - org.lance - lance-namespace-core - - - org.lance - lance-namespace-apache-client - - - com.fasterxml.jackson.core diff --git a/java/pom.xml b/java/pom.xml index db38f89..4db248d 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -57,8 +57,7 @@ UTF-8 - 2.0.0-beta.4 - 0.4.2 + 2.0.0-rc.3 15.0.0 5.8.2 @@ -95,6 +94,14 @@ lance-namespace-polaris + + + org.lance + lance-core + ${lance-core.version} + + + @@ -102,21 +109,6 @@ lance-namespace-impls-core ${project.version} - - org.lance - lance-core - ${lance-core.version} - - - org.lance - lance-namespace-core - ${lance-namespace.version} - - - org.lance - lance-namespace-apache-client - ${lance-namespace.version} - org.apache.arrow arrow-vector From fb60d5de71d65cbcaf0bdedd4c67a17f82dec526 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Wed, 28 Jan 2026 23:21:11 -0800 Subject: [PATCH 2/3] fix: exclude incompatible Netty versions from Hive dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Arrow 15.0.0 requires Netty 4.1.104+. Hive brings older Netty versions (3.x and 4.0.x) that are incompatible with Arrow's Netty-based memory allocator. This causes ExceptionInInitializerError during tests. - Add netty.version property (4.1.118.Final) to parent pom - Add Netty buffer/common to dependencyManagement - Exclude io.netty:netty and io.netty:netty-all from Hive/Hadoop deps 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- java/lance-namespace-hive2/pom.xml | 52 ++++++++++++++++++++++++++++++ java/lance-namespace-hive3/pom.xml | 48 +++++++++++++++++++++++++++ java/pom.xml | 12 +++++++ 3 files changed, 112 insertions(+) diff --git a/java/lance-namespace-hive2/pom.xml b/java/lance-namespace-hive2/pom.xml index 50577f7..6a37f62 100644 --- a/java/lance-namespace-hive2/pom.xml +++ b/java/lance-namespace-hive2/pom.xml @@ -35,6 +35,14 @@ org.pentaho pentaho-aggdesigner-algorithm + + io.netty + netty + + + io.netty + netty-all + @@ -50,6 +58,14 @@ org.pentaho pentaho-aggdesigner-algorithm + + io.netty + netty + + + io.netty + netty-all + @@ -65,6 +81,14 @@ org.pentaho pentaho-aggdesigner-algorithm + + io.netty + netty + + + io.netty + netty-all + @@ -88,6 +112,14 @@ org.pentaho pentaho-aggdesigner-algorithm + + io.netty + netty + + + io.netty + netty-all + core @@ -102,6 +134,14 @@ com.google.guava guava + + io.netty + netty + + + io.netty + netty-all + @@ -113,6 +153,10 @@ com.google.guava guava + + io.netty + netty + @@ -125,6 +169,14 @@ com.google.guava guava + + io.netty + netty + + + io.netty + netty-all + diff --git a/java/lance-namespace-hive3/pom.xml b/java/lance-namespace-hive3/pom.xml index a455e9b..6734fb4 100644 --- a/java/lance-namespace-hive3/pom.xml +++ b/java/lance-namespace-hive3/pom.xml @@ -22,6 +22,16 @@ org.apache.hive hive-standalone-metastore 3.1.3 + + + io.netty + netty + + + io.netty + netty-all + + org.apache.hive @@ -36,6 +46,14 @@ com.tdunning json + + io.netty + netty + + + io.netty + netty-all + core @@ -45,12 +63,32 @@ hive-metastore 3.1.3 test + + + io.netty + netty + + + io.netty + netty-all + + org.apache.hive hive-service 3.1.3 test + + + io.netty + netty + + + io.netty + netty-all + + org.apache.hive @@ -58,6 +96,16 @@ 3.1.3 test-jar test + + + io.netty + netty + + + io.netty + netty-all + + org.apache.derby diff --git a/java/pom.xml b/java/pom.xml index 4db248d..e153707 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -59,6 +59,7 @@ 2.0.0-rc.3 15.0.0 + 4.1.118.Final 5.8.2 false @@ -119,6 +120,17 @@ arrow-memory-netty ${arrow.version} + + + io.netty + netty-buffer + ${netty.version} + + + io.netty + netty-common + ${netty.version} + com.fasterxml.jackson.core From f4c5ac255ff1b9f4d838d03ab0cafff48d9a9921 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Wed, 28 Jan 2026 23:25:35 -0800 Subject: [PATCH 3/3] fix: add missing error_prone_annotations dependency for Hive3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The FormatMethod annotation from com.google.errorprone.annotations is used in Hive3MetaException but was not explicitly declared. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- java/lance-namespace-hive3/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/lance-namespace-hive3/pom.xml b/java/lance-namespace-hive3/pom.xml index 6734fb4..48f64c3 100644 --- a/java/lance-namespace-hive3/pom.xml +++ b/java/lance-namespace-hive3/pom.xml @@ -18,6 +18,11 @@ jar + + com.google.errorprone + error_prone_annotations + 2.28.0 + org.apache.hive hive-standalone-metastore