You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Quilian (via GitHub)" <gi...@apache.org> on 2025/02/20 07:07:27 UTC
[I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Quilian opened a new issue, #8771:
URL: https://github.com/apache/seatunnel/issues/8771
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
根据官网文档描述,Oracle-cdc配置了startup.mode = specific ,但是启动的时候报错:the value(SPECIFIC) must be one of the optionValues([INITIAL, LATEST])
### SeaTunnel Version
2.3.9
### SeaTunnel Config
```conf
env{
execution.parallelism = 1
job.mode = "STREAMING"
checkpoint.interval =1000
}
source {
Oracle-CDC {
username = "xx"
password = "xxx"
database-names = ["db1"]
schema-names = ["sc1"]
table-names = ["db1.sc1.table1"]
startup.mode = specific
startup.specific-offset.file = "/OSdata/oradata_ncdb/db1/redo03.log"
startup.specific-offset.pos = 14316
connect.timeout.ms = 60000
connect.max-retries = 5
base-url = "jdbc:oracle:thin:@xx.xxx.xxx.xx:xxxx:db1"
}
}
sink {
Doris {
fenodes = "xx.xxx.xx.xxx:xxxx"
username = xxx
password = "xxxxx"
database = "xxx"
#table = "xxxx"
sink.enable-2pc = "false"
sink.label-prefix = "xxx_111"
sink.enable-delete = "true"
doris.config = {
format="json"
read_json_by_line="true"
}
}
}
```
### Running Command
```shell
bin/seatunnel.sh -c xx.template -n jobname --async
```
### Error Exception
```log
2025-02-20 15:05:13,055 ERROR [o.a.s.c.s.SeaTunnel ] [main] - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:228)
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.restoreAndPrepareSource(FactoryUtil.java:119)
at org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:68)
at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:404)
at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:236)
at org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:123)
at org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:191)
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:165)
... 2 more
Caused by: org.apache.seatunnel.api.configuration.util.OptionValidationException: ErrorCode:[API-02], ErrorDescription:[Option item validate failed] - These options('startup.mode') are SingleChoiceOption, the value(SPECIFIC) must be one of the optionValues([INITIAL, LATEST]).
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validateSingleChoice(ConfigValidator.java:89)
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:64)
at org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:129)
at org.apache.seatunnel.api.table.factory.FactoryUtil.restoreAndPrepareSource(FactoryUtil.java:91)
... 8 more
```
### Zeta or Flink or Spark Version
zeta
### Java or Scala Version
_No response_
### Screenshots
_No response_
### Are you willing to submit PR?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8771:
URL: https://github.com/apache/seatunnel/issues/8771#issuecomment-3064419577
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8771:
URL: https://github.com/apache/seatunnel/issues/8771#issuecomment-3092661058
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8771: [Bug] [Oracle-CDC] startup.mode not supported specific
URL: https://github.com/apache/seatunnel/issues/8771
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "bwcxyk (via GitHub)" <gi...@apache.org>.
bwcxyk commented on issue #8771:
URL: https://github.com/apache/seatunnel/issues/8771#issuecomment-3989293583
<img width="1652" height="189" alt="Image" src="https://github.com/user-attachments/assets/6010f14c-a774-40f1-94df-45c0f437a27b" />
The same issue
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "topsli (via GitHub)" <gi...@apache.org>.
topsli commented on issue #8771:
URL: https://github.com/apache/seatunnel/issues/8771#issuecomment-3111985952
Please reopen this issue, I have fixed it in my project, then I want to commit these codes.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8771:
URL: https://github.com/apache/seatunnel/issues/8771#issuecomment-2745935980
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Oracle-CDC] startup.mode not supported specific [seatunnel]
Posted by "topsli (via GitHub)" <gi...@apache.org>.
topsli commented on issue #8771:
URL: https://github.com/apache/seatunnel/issues/8771#issuecomment-3111979666
2025-07-24 10:18:31,137 ERROR [o.a.s.c.s.SeaTunnel ] [main] - Reason:SeaTunnel job executed failed
2025-07-24 10:18:31,138 ERROR [o.a.s.c.s.SeaTunnel ] [main] - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:228)
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.restoreAndPrepareSource(FactoryUtil.java:119)
at org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:68)
at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:404)
at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:236)
at org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:123)
at org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:191)
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:165)
... 2 more
Caused by: org.apache.seatunnel.api.configuration.util.OptionValidationException: ErrorCode:[API-02], ErrorDescription:[Option item validate failed] - These options('startup.mode') are SingleChoiceOption, the value(SPECIFIC) must be one of the optionValues([INITIAL, LATEST]).
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validateSingleChoice(ConfigValidator.java:89)
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:64)
at org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSource(FactoryUtil.java:129)
at org.apache.seatunnel.api.table.factory.FactoryUtil.restoreAndPrepareSource(FactoryUtil.java:91)
... 8 more
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org