diff --git a/config/hazelcast.yaml b/config/hazelcast.yaml index 87f6079606a..934712a8241 100644 --- a/config/hazelcast.yaml +++ b/config/hazelcast.yaml @@ -37,5 +37,5 @@ hazelcast: hazelcast.invocation.max.retry.count: 20 hazelcast.tcp.join.port.try.count: 30 hazelcast.logging.type: log4j2 - hazelcast.operation.generic.thread.count: 1000 + hazelcast.operation.generic.thread.count: 50 diff --git a/docs/en/connector-v2/sink/Jdbc.md b/docs/en/connector-v2/sink/Jdbc.md index 50ccaf5cb07..835928ca7ab 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 a6a81b6f571..ff35f450ed9 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 2c27ae7732a..0d58dfba490 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 6daa5564f94..3a1b5a4177e 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 @@ net.snowflake.snowflake-jdbc:jar ${artifact.file.name} - /plugins/jdbc/lib + /lib provided