tuantran0910 commented on PR #62988:
URL: https://github.com/apache/doris/pull/62988#issuecomment-7096909406
<!-- doris-repo-review:v1:begin -->
### Local pipeline review — ✅ PASS
```yaml
schema: doris-repo-review/v1
status: PASS
pr: apache/doris#62988
commit: 17810c86611b5f99bdd07d7676db0b179e163475
base: 238f43a5d674ff142d7912263530e3e6a64fb74b
reviewed_at: 2026-11-23T16:38+07:00
reviewer: tuantran0910
model: claude-opus-5-5
effort: xhigh
findings: {blocker: 0, major: 0, minor: 0, nit: 0}
rounds: 1
converged: true
```
**Notes for maintainers**
-
`fe/fe-connector/fe-connector-iceberg/src/main/java/org/apache/doris/connector/iceberg/IcebergConnectorProvider.java:95-97`:
`securitySurface()` declares only `kms.endpoint` as an SSRF endpoint. The
bundled `iceberg-gcp` now also honors GCS endpoint keys such as
`gcs.service.host` and `gcs.oauth2.refresh-credentials-endpoint`. The open CI
thread on `IcebergCatalogFactory.java:609` raises this, and this receipt does
not settle it.
-
`fe/fe-connector/fe-connector-iceberg/src/main/java/org/apache/doris/connector/iceberg/IcebergCatalogFactory.java:504-510`,
on the open CI thread about raw `fs.s3a.*` settings on an opaque REST catalog:
before this PR, `HadoopFileIO` did not read `gs://` through `fs.s3a.*` either.
Doris maps `gs` to `S3AFileSystem` only for a typed GCS binding
(`GcsFileSystemProperties.java:241`, pinned at
`IcebergCatalogFactory.java:470-473`) or a raw `fs.gs.impl` key (pinned at
lines 504-510). Otherwise gcs-connector 3.1.18 registers
`GoogleHadoopFileSystem` with ambient Google credentials. The remaining
difference is the trade-off for REST catalogs with no GCS configuration,
discussed on thread r4623541395.
- The pinned `io-impl` defaults are client properties, so they replace an
`io-impl` that a REST server sends in its `/v1/config` `defaults`. The PR body
declares this, and setting `iceberg.rest.io-impl` keeps the server's choice.
Master's `DorisRESTSessionCatalog` still builds table FileIOs from `io-impl`
(`fe/fe-connector/fe-connector-iceberg/src/main/java/org/apache/iceberg/rest/DorisRESTSessionCatalog.java:44`).
- Because `iceberg-gcp` is bundled, `encryption.kms-type=gcp` now resolves
`GcpKeyManagementClient`, but `google-cloud-kms` is not shipped. Encrypted
reads are fenced on master
(`fe/fe-connector/fe-connector-iceberg/src/main/java/org/apache/doris/connector/iceberg/IcebergEncryptionRead.java:86`),
so nothing reaches it today. Whoever enables GCP KMS later has to add that SDK.
- `security.type=google` is covered by unit tests only. No test exercises
live Google OAuth or a BigLake endpoint.
<sub>Reviewed locally with the `doris-repo-review` pipeline. Repository
policy may accept this receipt for the matching commit; it is not a human
Apache approval.</sub>
<!-- doris-repo-review:v1:end -->
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]