Closed ChenpiDog closed 2 years ago
'seatunnel-core-flink' isn't contains the Jdbc connector jar. You can refer to the link: https://seatunnel.apache.org/docs/2.1.0/flink/quick-start
@ashulin What is the missing dependency? I put MySQL JDBC (mysql-connector-java-8.0.17.jar) into $FLINK_HOME/usrlib/, still not.
@ashulin What is the missing dependency? I put MySQL JDBC (mysql-connector-java-8.0.17.jar) into $FLINK_HOME/usrlib/, still not.
$FLINK_HOME/lib/, still not
Add dependency: flink-connector-jdbc_2.11-1.11.6.jar, solve the problem
Close by resolved
Excuse me, how can I add dependencies: flink-connector-jdbc_xxxx in kubernetes
Excuse me, how can I add dependencies: flink-connector-jdbc_xxxx in kubernetes
@h472591847 Sorry, have you solved it now? The following is my docker file for reference.
FROM flink:1.13.6
ENV SEATUNNEL_VERSION="2.1.0"
RUN wget https://archive.apache.org/dist/incubator/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz RUN tar -xzvf apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
RUN mkdir -p $FLINK_HOME/usrlib RUN cp apache-seatunnel-incubating-${SEATUNNEL_VERSION}/lib/seatunnel-core-flink.jar $FLINK_HOME/usrlib/seatunnel-core-flink.jar ADD ./flink-connector-jdbc_2.11-1.13.6.jar $FLINK_HOME/lib/ ADD ./mysql-connector-java-8.0.17.jar $FLINK_HOME/lib/
RUN rm -fr apache-seatunnel-incubating-${SEATUNNEL_VERSION}*
Search before asking
What happened
Set Up with Kubernetes, JDBC as source, based on the Flink engine, the task failed.
Dockerfile: `FROM flink:1.13
ENV SEATUNNEL_VERSION="2.1.0"
RUN wget https://archive.apache.org/dist/incubator/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz RUN tar -xzvf apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
RUN mkdir -p $FLINK_HOME/usrlib RUN cp apache-seatunnel-incubating-${SEATUNNEL_VERSION}/lib/seatunnel-core-flink.jar $FLINK_HOME/usrlib/seatunnel-core-flink.jar
RUN rm -fr apache-seatunnel-incubating-${SEATUNNEL_VERSION}*`
SeaTunnel Version
2.1.0
SeaTunnel Config
Running Command
Error Exception
Flink or Spark Version
Flink version:1.13
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?
Code of Conduct