From 554562bfa93d4fc8f0fc8c50fe77153e2db3f3f2 Mon Sep 17 00:00:00 2001
From: fuchanghai <33984497+fuchanghai@users.noreply.github.com>
Date: Mon, 5 Sep 2022 09:15:58 +0800
Subject: [PATCH] [fix-#11691] Add lz4-java in clickhouse datasource. (#11697)
---
dolphinscheduler-bom/pom.xml | 7 +++++++
.../dolphinscheduler-datasource-clickhouse/pom.xml | 5 +++++
dolphinscheduler-dist/release-docs/LICENSE | 1 +
tools/dependencies/known-dependencies.txt | 1 +
4 files changed, 14 insertions(+)
diff --git a/dolphinscheduler-bom/pom.xml b/dolphinscheduler-bom/pom.xml
index 0599d5510e..5f794ab161 100644
--- a/dolphinscheduler-bom/pom.xml
+++ b/dolphinscheduler-bom/pom.xml
@@ -68,6 +68,7 @@
2.11.0
6.1.1
0.1.52
+ 1.4.0
6.1.0.jre8
0.238.1
2.5
@@ -610,6 +611,12 @@
test
+
+ org.lz4
+ lz4-java
+ ${lz4-java.version}
+
+
org.springframework
spring-ldap
diff --git a/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-clickhouse/pom.xml b/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-clickhouse/pom.xml
index 088e4e9095..20898fcb2f 100644
--- a/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-clickhouse/pom.xml
+++ b/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-clickhouse/pom.xml
@@ -65,6 +65,11 @@
+
+ org.lz4
+ lz4-java
+
+
org.mockito
mockito-core
diff --git a/dolphinscheduler-dist/release-docs/LICENSE b/dolphinscheduler-dist/release-docs/LICENSE
index 4b4ea79e77..d869286c00 100644
--- a/dolphinscheduler-dist/release-docs/LICENSE
+++ b/dolphinscheduler-dist/release-docs/LICENSE
@@ -228,6 +228,7 @@ The text of each license is also included at licenses/LICENSE-[project].txt.
caffeine 2.9.3: https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine/2.9.3, Apache 2.0
classmate 1.5.1: https://mvnrepository.com/artifact/com.fasterxml/classmate/1.5.1, Apache 2.0
clickhouse-jdbc 0.1.52: https://mvnrepository.com/artifact/ru.yandex.clickhouse/clickhouse-jdbc/0.1.52, Apache 2.0
+ lz4-java 1.4.0: https://mvnrepository.com/artifact/org.lz4/lz4-java/1.4.0, Apache 2.0
commons-beanutils 1.9.4 https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils/1.9.4, Apache 2.0
commons-cli 1.2: https://mvnrepository.com/artifact/commons-cli/commons-cli/1.2, Apache 2.0
commons-codec 1.11: https://mvnrepository.com/artifact/commons-codec/commons-codec/1.11, Apache 2.0
diff --git a/tools/dependencies/known-dependencies.txt b/tools/dependencies/known-dependencies.txt
index 57c4fb1c55..95f52abf05 100755
--- a/tools/dependencies/known-dependencies.txt
+++ b/tools/dependencies/known-dependencies.txt
@@ -32,6 +32,7 @@ checker-qual-3.5.0.jar
classgraph-4.8.83.jar
classmate-1.5.1.jar
clickhouse-jdbc-0.1.52.jar
+lz4-java-1.4.0.jar
commons-beanutils-1.9.4.jar
commons-cli-1.2.jar
commons-codec-1.11.jar