mtzcsc commented on PR #5196:
URL: https://github.com/apache/seatunnel/pull/5196#issuecomment-2078821947

   xception in thread "main" 
org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel 
job executed failed
           at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:199)
           at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
           at 
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
   Caused by: org.apache.seatunnel.api.table.factory.FactoryException: 
ErrorCode:[API-06], ErrorDescription:[Factory initialize failed] - Unable to 
create a source for identifier 'Oracle-CDC'.
           at 
org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:100)
           at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:320)
           at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:181)
           at 
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:88)
           at 
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:161)
           at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:146)
           ... 2 more
   Caused by: org.apache.seatunnel.common.utils.SeaTunnelException: Can not 
find catalog table with factoryId [Oracle]
           at 
org.apache.seatunnel.api.table.catalog.CatalogTableUtil.lambda$getCatalogTables$0(CatalogTableUtil.java:129)
           at java.base/java.util.Optional.map(Optional.java:260)
           at 
org.apache.seatunnel.api.table.catalog.CatalogTableUtil.getCatalogTables(CatalogTableUtil.java:116)
           at 
org.apache.seatunnel.api.table.catalog.CatalogTableUtil.getCatalogTables(CatalogTableUtil.java:96)
           at 
org.apache.seatunnel.connectors.seatunnel.cdc.oracle.source.OracleIncrementalSourceFactory.lambda$createSource$1(OracleIncrementalSourceFactory.java:108)
           at 
org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:112)
           at 
org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:73)
           ... 7 more
   
         env {
           execution.parallelism = 1
           job.mode = "STREAMING"
           job.name = 'cdc'
           # 10秒检查一次,可以适当加大这个值
           checkpoint.interval = 10000
         }
   
         # 配置数据源
         source {
           Oracle-CDC {
            #result_table_name = "customers"
            username = "sys as sysdba"
            password = "123456"
            database-names = ["ORCL"]
            #schema-names = ["c##test"]
            table-names = ["sys.kwq"]
            base-url = "jdbc:oracle:thin:@172.20.10.12:1521:orcl"
            source.reader.close.timeout = 120000
     }
         }
   
         # 配置目标库
         sink {
           starrocks {
             batch_max_rows=10240
             nodeUrls = ["172.20.10.13:8030"]    ## 插入的  node  节点
             base-url = "jdbc:mysql://172.20.10.13:9030/"   ##   插入库的jdbbc链接
             username = "root"
             password = "123456"
             database = "cdc"
             data_save_mode="APPEND_DATA"
             enable_upsert_delete = true
             #table = "test"
         }
       }
   ~
   ~
   请教
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to