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:57:46 UTC
[I] [Bug] [Doc] S3File doc contains wrong param requirement [seatunnel]
litiliu opened a new issue, #8802:
URL: https://github.com/apache/seatunnel/issues/8802
### 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 fail based on the params provided by the doc. The doc says the `file_format_type` is not required, but actually is necessary.
<img width="762" alt="Image" src="https://github.com/user-attachments/assets/6b086b4a-8852-4e35-bf4a-067789208a30" />
### 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",
"secret_key": "n",
"path":"test3.txt",
"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.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'file_format_type'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:250)
at org.apache.seatunnel.connectors.seatunnel.file.sink.config.FileSinkConfig.<init>(FileSinkConfig.java:209)
at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseMultipleTableFileSink.<init>(BaseMultipleTableFileSink.java:71)
at org.apache.seatunnel.connectors.seatunnel.file.s3.sink.S3FileSink.<init>(S3FileSink.java:58)
at org.apache.seatunnel.connectors.seatunnel.file.s3.sink.S3FileSinkFactory.lambda$createSink$0(S3FileSinkFactory.java:115)
at org.apache.seatunnel.core.starter.flink.execution.SinkExecuteProcessor.execute(SinkExecuteProcessor.java:141)
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] [Connector-File] the requirement of file_format_type filed obeys the doc [seatunnel]
Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X closed issue #8802: [Bug] [Connector-File] the requirement of file_format_type filed obeys the doc
URL: https://github.com/apache/seatunnel/issues/8802
--
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