You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Chamikara Madhusanka Jayalath (Jira)" <ji...@apache.org> on 2022/03/29 16:43:00 UTC

[jira] [Comment Edited] (BEAM-14191) CrossLanguageJdbcIOTest broken with "Cannot load JDBC driver class 'com.mysql.cj.jdbc.Driver'"

    [ https://issues.apache.org/jira/browse/BEAM-14191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514187#comment-17514187 ] 

Chamikara Madhusanka Jayalath edited comment on BEAM-14191 at 3/29/22, 4:42 PM:
--------------------------------------------------------------------------------

At least for the test, the correct set of additional jars were somehow being loaded from classpath. I'm not sure if this worked in production for JDBC. I'll pass to Pablo to determine if additional action is needed here.


was (Author: chamikara):
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: Pablo Estrada
>            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)