[
https://issues.apache.org/jira/browse/BEAM-14191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514187#comment-17514187
]
Chamikara Madhusanka Jayalath commented on BEAM-14191:
------------------------------------------------------
At least for the test, the correct set of additional jars were somehow being
loaded from classpath. I'm not sure if this worked for production for JDBC.
I'll pass to Pablo to determine if additional action is needed here.
> CrossLanguageJdbcIOTest broken with "Cannot load JDBC driver class
> 'com.mysql.cj.jdbc.Driver'"
> ----------------------------------------------------------------------------------------------
>
> Key: BEAM-14191
> URL: https://issues.apache.org/jira/browse/BEAM-14191
> Project: Beam
> Issue Type: Bug
> Components: cross-language, test-failures
> Reporter: Luke Cwik
> Assignee: Chamikara Madhusanka Jayalath
> Priority: P1
> Time Spent: 2h
> Remaining Estimate: 0h
>
> Example failure:
> https://ci-beam.apache.org/job/beam_PostCommit_Python36/5113/testReport/junit/apache_beam.io.external.xlang_jdbcio_it_test/CrossLanguageJdbcIOTest/test_xlang_jdbc_read_1_mysql/
> Culprit: https://github.com/apache/beam/pull/17167
> {noformat}
> RuntimeError: Pipeline
> BeamApp-jenkins-0325181709-516ba346_d7972792-2c60-4332-8107-ac73c585491a
> failed in state FAILED: java.lang.RuntimeException: Error received from SDK
> harness for instruction 19: org.apache.beam.sdk.util.UserCodeException:
> java.sql.SQLException: Cannot load JDBC driver class
> 'com.mysql.cj.jdbc.Driver'
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)