Gabriel39 opened a new pull request, #70966: URL: https://github.com/apache/doris/pull/70966
### What problem does this PR solve? Adapted backport of apache/doris#62988. Google REST catalog authentication needs GoogleAuthManager, while adding iceberg-gcp must preserve GCS HMAC access instead of switching gs:// metadata reads to ADC. BE metadata scans also need the GCSFileIO and Google SDK classes carried by serialized system-table tasks. ### Backport adaptation - Map the Google security type, optional FileIO and billing project through the legacy FE property classes. - Share NativeGcsResolvingFileIO between FE and the BE scanner, preserving explicit FileIO choices and vending-aware defaults. - Package unshaded Google storage/auth dependencies in the scanner and preserve the patched Hadoop dependency order. - Keep Iceberg 1.11.0 and Google storage 2.67.0. Preserve this branch's existing native GCP and catalog authentication adapters. ### Validation - 65 related FE tests and 4 scanner tests passed with no failures or skips. - The HMAC test reads a local object through the real SDK and verifies the configured access-key signature. Disabling the routing fix makes this assertion fail. - Scanner tests deserialize GCSFileIO, read through a fresh vended token without FE authentication classes, and execute an actual serialized $files task. - The packaged scanner passed an isolated-classloader probe: GCSFileIO, Google storage/auth and the shared resolver all come from the shipped jar; a deserialized FileIO reads the expected bytes using the storage bearer token. - FE Checkstyle and git diff --check passed. Complete local self-review finished and identified issues were fixed before committing. ### Limitations Live GCS/Polaris integration and token expiration during a running BE query were not tested. Existing vended-credential behavior is preserved; in-query BE token renewal remains outside this backport. Deploy matching BE scanner and FE artifacts, with BE first; mixed-version Iceberg system-table scans remain unsupported. Pre-submission status: Partially verified: live GCS/Polaris integration was not run locally. ### Release note Support Google REST catalog authentication, preserve GCS HMAC metadata access, and fix missing GCS runtime classes in Iceberg system-table scans. -- 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]
