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

wanghailin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 23ed0fc3d [Improve][Zeta] Move driver into lib directory and change 
operation count (#4845)
23ed0fc3d is described below

commit 23ed0fc3d6f4af0b91d7f0da2946b639c98093ad
Author: Jia Fan <[email protected]>
AuthorDate: Tue Jun 6 10:19:38 2023 +0800

    [Improve][Zeta] Move driver into lib directory and change operation count 
(#4845)
---
 docs/en/connector-v2/sink/Jdbc.md                    | 4 ++--
 docs/en/connector-v2/source/Jdbc.md                  | 4 ++--
 plugins/README.md                                    | 2 ++
 seatunnel-dist/src/main/assembly/assembly-bin-ci.xml | 2 +-
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/docs/en/connector-v2/sink/Jdbc.md 
b/docs/en/connector-v2/sink/Jdbc.md
index 50ccaf5cb..835928ca7 100644
--- a/docs/en/connector-v2/sink/Jdbc.md
+++ b/docs/en/connector-v2/sink/Jdbc.md
@@ -9,9 +9,9 @@ semantics (using XA transaction guarantee).
 
 :::tip
 
-Warn: for license compliance, you have to provide database driver yourself, 
copy to `$SEATNUNNEL_HOME/plugins/jdbc/lib/` directory in order to make them 
work.
+Warn: for license compliance, you have to provide database driver yourself, 
copy to `$SEATNUNNEL_HOME/lib/` directory in order to make them work.
 
-e.g. If you use MySQL, should download and copy `mysql-connector-java-xxx.jar` 
to `$SEATNUNNEL_HOME/plugins/jdbc/lib/`
+e.g. If you use MySQL, should download and copy `mysql-connector-java-xxx.jar` 
to `$SEATNUNNEL_HOME/lib/`. For Spark/Flink, you should also copy it to 
`$SPARK_HOME/jars/` or `$FLINK_HOME/lib/`.
 
 :::
 
diff --git a/docs/en/connector-v2/source/Jdbc.md 
b/docs/en/connector-v2/source/Jdbc.md
index a6a81b6f5..ff35f450e 100644
--- a/docs/en/connector-v2/source/Jdbc.md
+++ b/docs/en/connector-v2/source/Jdbc.md
@@ -8,9 +8,9 @@ Read external data source data through JDBC.
 
 :::tip
 
-Warn: for license compliance, you have to provide database driver yourself, 
copy to `$SEATNUNNEL_HOME/plugins/jdbc/lib/` directory in order to make them 
work.
+Warn: for license compliance, you have to provide database driver yourself, 
copy to `$SEATNUNNEL_HOME/lib/` directory in order to make them work.
 
-e.g. If you use MySQL, should download and copy `mysql-connector-java-xxx.jar` 
to `$SEATNUNNEL_HOME/plugins/jdbc/lib/`
+e.g. If you use MySQL, should download and copy `mysql-connector-java-xxx.jar` 
to `$SEATNUNNEL_HOME/lib/`. For Spark/Flink, you should also copy it to 
`$SPARK_HOME/jars/` or `$FLINK_HOME/lib/`.
 
 :::
 
diff --git a/plugins/README.md b/plugins/README.md
index 2c27ae773..0d58dfba4 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -2,6 +2,8 @@
 
 This directory used to store some third party jar package dependency by 
connector running, such as jdbc drivers.
 
+!!!Attention: If you use Zeta Engine, please add jar to `$SEATUNNEL_HOME/lib/` 
directory on each node.
+
 ## directory structure
 
 The jar dependency  by connector need put in `plugins/${connector name}/lib/` 
dir.
diff --git a/seatunnel-dist/src/main/assembly/assembly-bin-ci.xml 
b/seatunnel-dist/src/main/assembly/assembly-bin-ci.xml
index 6daa5564f..3a1b5a417 100644
--- a/seatunnel-dist/src/main/assembly/assembly-bin-ci.xml
+++ b/seatunnel-dist/src/main/assembly/assembly-bin-ci.xml
@@ -204,7 +204,7 @@
                 <include>net.snowflake.snowflake-jdbc:jar</include>
             </includes>
             
<outputFileNameMapping>${artifact.file.name}</outputFileNameMapping>
-            <outputDirectory>/plugins/jdbc/lib</outputDirectory>
+            <outputDirectory>/lib</outputDirectory>
             <scope>provided</scope>
         </dependencySet>
     </dependencySets>

Reply via email to