Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8398

BlockingSnapshotIT fails on Oracle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.2.Final
    • 3.0.1.Final
    • oracle-connector
    • None

      Fails on internal Jenkins with

      2024-11-11 00:42:35,248 ERROR  Oracle|server1|snapshot  Error during snapshot   [io.debezium.relational.RelationalSnapshotChangeEventSource]
      java.util.concurrent.ExecutionException: org.apache.kafka.connect.errors.ConnectException: Snapshotting of table ORCLPDB1.DEBEZIUM.B failed
      	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      	at io.debezium.relational.RelationalSnapshotChangeEventSource.createDataEvents(RelationalSnapshotChangeEventSource.java:534)
      	at io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:179)
      	at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:96)
      	at io.debezium.pipeline.ChangeEventSourceCoordinator.doSnapshot(ChangeEventSourceCoordinator.java:297)
      	at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$doBlockingSnapshot$4(ChangeEventSourceCoordinator.java:251)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      Caused by: org.apache.kafka.connect.errors.ConnectException: Snapshotting of table ORCLPDB1.DEBEZIUM.B failed
      	at io.debezium.connector.oracle.OracleSnapshotChangeEventSource.lambda$createDataEventsForTableCallable$0(OracleSnapshotChangeEventSource.java:310)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      	... 5 common frames omitted
      Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
      
      	at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:630)
      	at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:564)
      	at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1231)
      	at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:772)
      	at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:299)
      	at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:512)
      	at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:123)
      	at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:969)
      	at oracle.jdbc.driver.OracleStatement.prepareDefineBufferAndExecute(OracleStatement.java:1271)
      	at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1149)
      	at oracle.jdbc.driver.OracleStatement.executeSQLSelect(OracleStatement.java:1661)
      	at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1470)
      	at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:2055)
      	at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:394)
      	at io.debezium.relational.RelationalSnapshotChangeEventSource.resultSetForDataEvents(RelationalSnapshotChangeEventSource.java:670)
      	at io.debezium.relational.RelationalSnapshotChangeEventSource.doCreateDataEventsForTable(RelationalSnapshotChangeEventSource.java:619)
      	at io.debezium.connector.oracle.OracleSnapshotChangeEventSource.lambda$createDataEventsForTableCallable$0(OracleSnapshotChangeEventSource.java:293)
      	... 6 common frames omitted
      Caused by: oracle.jdbc.OracleDatabaseException: ORA-00923: FROM keyword not found where expected
      
      	at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:637)
      	... 22 common frames omitted
      

              vjuranek@redhat.com Vojtech Juranek
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: