kim-up commented on issue #4582:
URL:
https://github.com/apache/incubator-seatunnel/issues/4582#issuecomment-1509578546
There ara two solutions:
1. Add `extraOptions` which includes `FileSystem` conf items in `Connector`
configuration. `Oss` example:
```
Hive {
table_name = "default.seatunnel_orc"
metastore_uri = "thrift://namenode001:9083"
extra_options {
fs.oss.accessKeyId = "xxxxxxxxx"
fs.oss.accessKeySecret = 'xxxxxxx"
...
}
}
```
2. Or add `FileSystem` conf items in `Connector` configuration directly.
```
Hive {
table_name = "default.seatunnel_orc"
metastore_uri = "thrift://namenode001:9083"
access_key = "xxxxxxxxx"
access_secret= 'xxxxxxx"
...
}
```
By the way, the keys of `FileSystem` conf items can be consistent with
`Connector-File-xxx`.
Which one is better, or is there a better way?
--
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]