Repository navigation
Commit af5c7cc
[fix](paimon) do not let the Hadoop S3 mirror overwrite explicit options
The mirrorHadoopS3OptionsToCatalogOptions loop set every fs.s3a.* entry
from the generated Hadoop configuration unconditionally, so for a catalog
with static s3 keys plus an explicit assumed-role credentials provider
the Hadoop side's SimpleAWSCredentialsProvider replaced the requested
provider in the catalog options — the warehouse then re-opened under the
base identity and failed with AccessDenied. The mirror now fills only
options the catalog has not already set: the user's explicit fs.s3a.*
entries keep precedence over the generated defaults. This affects the
filesystem, HMS and JDBC paimon catalog variants alike.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 792aa85 commit af5c7cc
2 files changed
Lines changed: 38 additions & 1 deletion
File tree
- fe/fe-core/src
- main/java/org/apache/doris/datasource/property/metastore
- test/java/org/apache/doris/datasource/property/metastore
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
253 | 284 | | |
254 | 285 | | |
255 | 286 | | |
| |||
0 commit comments