From dbfa8ed04978808968373d74930ea2c790edf01a Mon Sep 17 00:00:00 2001 From: tyrantlucifer Date: Mon, 18 Jul 2022 10:05:54 +0800 Subject: [PATCH 1/3] [Bug][spark-connector-v2-example] fix the bug of no class found. (#2191) * add the janino dependency in pom --- .../seatunnel-spark-connector-v2-example/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml b/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml index be2abd0b0b6..c435c434604 100644 --- a/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml +++ b/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml @@ -80,12 +80,19 @@ ${spark.version} ${spark.scope} + net.jpountz.lz4 lz4 1.3.0 + + org.codehaus.janino + janino + 3.0.16 + + \ No newline at end of file From cb214e36f0e72c9a46dbbd74133b866ca0eabb8d Mon Sep 17 00:00:00 2001 From: tyrantlucifer Date: Mon, 18 Jul 2022 15:09:09 +0800 Subject: [PATCH 2/3] [Bug][spark-connector-v2-example] remove janino dependency in main pom and add it to connector[v2]-hive (#2191) --- pom.xml | 5 ----- seatunnel-connectors-v2/connector-hive/pom.xml | 6 ++++++ .../seatunnel-spark-connector-v2-example/pom.xml | 7 ------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 17aa94ed4bb..6f4eac23426 100644 --- a/pom.xml +++ b/pom.xml @@ -762,11 +762,6 @@ jackson-jaxrs ${codehaus.jackson.version} - - org.codehaus.janino - janino - ${janino.version} - com.sun.jersey jersey-json diff --git a/seatunnel-connectors-v2/connector-hive/pom.xml b/seatunnel-connectors-v2/connector-hive/pom.xml index 342a0179238..a4842e0ed6b 100644 --- a/seatunnel-connectors-v2/connector-hive/pom.xml +++ b/seatunnel-connectors-v2/connector-hive/pom.xml @@ -86,6 +86,12 @@ ${project.version} + + org.codehaus.janino + janino + ${janino.version} + + junit junit diff --git a/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml b/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml index c435c434604..8c3978e53d7 100644 --- a/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml +++ b/seatunnel-examples/seatunnel-spark-connector-v2-example/pom.xml @@ -86,13 +86,6 @@ lz4 1.3.0 - - - org.codehaus.janino - janino - 3.0.16 - - \ No newline at end of file From 8e57b43e9065b5d610c466ae3af9330e26d07d27 Mon Sep 17 00:00:00 2001 From: tyrantlucifer Date: Mon, 18 Jul 2022 16:36:44 +0800 Subject: [PATCH 3/3] [Bug][spark-connector-v2-example] add janino-3.0.9.jar in known-dependencies.txt to fix dependency license error (#2191) --- tools/dependencies/known-dependencies.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/dependencies/known-dependencies.txt b/tools/dependencies/known-dependencies.txt index a0a43ed802f..f2693cd704a 100755 --- a/tools/dependencies/known-dependencies.txt +++ b/tools/dependencies/known-dependencies.txt @@ -319,6 +319,7 @@ jakarta.validation-api-2.0.2.jar jakarta.websocket-api-1.1.2.jar jamon-runtime-2.4.1.jar janino-3.1.6.jar +janino-3.0.9.jar java-xmlbuilder-0.4.jar javassist-3.18.1-GA.jar javassist-3.20.0-GA.jar