You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2025/12/05 03:25:55 UTC
(iotdb) 01/01: Switch to at.yawk.lz4:lz4-java:1.10.0
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch upgrade_lz4
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 89f8b3369c88a74c3054591dcdfc7b8de6d20837
Author: HTHou <ha...@apache.org>
AuthorDate: Fri Dec 5 11:25:37 2025 +0800
Switch to at.yawk.lz4:lz4-java:1.10.0
---
dependencies.json | 2 +-
iotdb-core/datanode/pom.xml | 2 +-
pom.xml | 16 ++++++++++++++--
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/dependencies.json b/dependencies.json
index 6553a8dfe3e..dd439e372d4 100644
--- a/dependencies.json
+++ b/dependencies.json
@@ -1,5 +1,6 @@
{
"dependencies": [
+ "at.yawk.lz4:lz4-java",
"cglib:cglib",
"ch.qos.logback:logback-classic",
"ch.qos.logback:logback-core",
@@ -155,7 +156,6 @@
"org.jline:jline",
"org.jvnet.mimepull:mimepull",
"org.latencyutils:LatencyUtils",
- "org.lz4:lz4-java",
"org.ops4j.pax.jdbc:pax-jdbc-common",
"org.osgi:osgi.cmpn",
"org.osgi:osgi.core",
diff --git a/iotdb-core/datanode/pom.xml b/iotdb-core/datanode/pom.xml
index 210a08d6366..80bebe90f77 100644
--- a/iotdb-core/datanode/pom.xml
+++ b/iotdb-core/datanode/pom.xml
@@ -289,7 +289,7 @@
<artifactId>Java-WebSocket</artifactId>
</dependency>
<dependency>
- <groupId>org.lz4</groupId>
+ <groupId>at.yawk.lz4</groupId>
<artifactId>lz4-java</artifactId>
</dependency>
<dependency>
diff --git a/pom.xml b/pom.xml
index 8942576d982..eecb8978762 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,7 +115,7 @@
<junit.version>4.13.2</junit.version>
<!-- This was the last version to support Java 8 -->
<logback.version>1.3.16</logback.version>
- <lz4-java.version>1.8.0</lz4-java.version>
+ <lz4-java.version>1.10.0</lz4-java.version>
<maven.assembly.version>3.6.0</maven.assembly.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@@ -320,6 +320,18 @@
<artifactId>bcpkix-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.tsfile</groupId>
+ <artifactId>tsfile</artifactId>
+ <version>${tsfile.version}</version>
+ <!-- Once tsfile switch to at.yawk.lz4:lz4-java, remove the following part -->
+ <exclusions>
+ <exclusion>
+ <groupId>org.lz4</groupId>
+ <artifactId>lz4-java</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
<dependency>
<groupId>org.apache.ratis</groupId>
<artifactId>ratis-server</artifactId>
@@ -492,7 +504,7 @@
<version>${zstd-jni.version}</version>
</dependency>
<dependency>
- <groupId>org.lz4</groupId>
+ <groupId>at.yawk.lz4</groupId>
<artifactId>lz4-java</artifactId>
<version>${lz4-java.version}</version>
</dependency>