You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "litiliu (via GitHub)" <gi...@apache.org> on 2025/02/24 09:51:12 UTC
[I] [Bug] [Doc] S3File doc contains wrong param [seatunnel]
litiliu opened a new issue, #8800:
URL: https://github.com/apache/seatunnel/issues/8800
### 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
Job failed based on the suggested configs on doc
### SeaTunnel Version
2.3.9
### SeaTunnel Config
```conf
{
"env": {
"jobMode": "batch",
"parallelism": 1,
"checkpoint.interval": 60000
},
"source": [
{
"plugin_name": "FakeSource",
"plugin_output": "fake",
"row.num": 5,
"schema": {
"fields": {
"name": "string",
"age": "int",
"card": "int"
}
}
}
],
"sink":[
{
"plugin_name":"S3File",
"bucket": "s3://bb" ,
"fs.s3a.endpoint": "",
"fs.s3a.aws.credentials.provider": "org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider",
"access_key": "a",
"access_secret": "b,
"path":"test3",
"schema_save_mode":"ERROR_WHEN_SCHEMA_NOT_EXIST"
}
]
}
```
### Running Command
```shell
org.apache.seatunnel.example.flink.v2.SeaTunnelApiExample
```
### Error Exception
```log
Caused by: org.apache.seatunnel.api.configuration.util.OptionValidationException: ErrorCode:[API-02], ErrorDescription:[Option item validate failed] - There are unconfigured options, the options('secret_key') are required because ['fs.s3a.aws.credentials.provider' == org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider] is true.
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:200)
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:107)
at org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:47)
at org.apache.seatunnel.core.starter.flink.execution.SinkExecuteProcessor.execute(SinkExecuteProcessor.java:139)
at org.apache.seatunnel.core.starter.flink.execution.FlinkExecution.execute(FlinkExecution.java:115)
at org.apache.seatunnel.core.starter.flink.command.FlinkTaskExecuteCommand.execute(FlinkTaskExecuteCommand.java:61)
... 2 more
```
### Zeta or Flink or Spark Version
_No response_
### 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] [Doc] S3File doc contains wrong param [seatunnel]
Posted by "hailin0 (via GitHub)" <gi...@apache.org>.
hailin0 closed issue #8800: [Bug] [Doc] S3File doc contains wrong param
URL: https://github.com/apache/seatunnel/issues/8800
--
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