Gabriel39 opened a new pull request, #71398:
URL: https://github.com/apache/doris/pull/71398

   ### What problem does this PR solve?
   
   Backport of https://github.com/apache/doris/pull/71396.
   
   Default Hadoop FileIO can create Iceberg manifests on SDK worker threads 
without the catalog's authentication context. Authenticate write-side file 
access, including deferred stream creation, while retaining bulk-delete 
retries, shared manifest caching, and catalog-owned FileIO lifetime. Cached 
read tables and custom non-Hadoop FileIO retain their behavior.
   
   The production change and all new tests preserve the source implementation. 
The source PR's two overwrite-mode fixture files do not exist on this target 
branch and are omitted; this branch has no corresponding four-argument 
overwrite-mode API.
   
   ### Release note
   
   Fix Iceberg manifest-write authentication failures on Kerberized HDFS with 
the default Hadoop FileIO.
   
   ### Check List (For Author)
   
   - Test
       - [x] Unit tests for worker authentication, concurrent catalogs, 
retained identity, rewrite, temporary operations and commit retries, deferred 
access, native encryption parameters, bulk cleanup, error propagation, cache 
reuse/invalidation, and default-authenticator ownership.
       - [x] Regression suites for default Hadoop FileIO, alternating Kerberos 
catalogs, append, overwrite, empty overwrite, and read-back assertions. 
External HMS/BE SQL execution was not available locally and remains for CI.
   - Behavior changed:
       - [x] Yes. Write-side Hadoop FileIO uses the transaction's captured 
catalog authentication on SDK workers.
   - Does this need documentation?
       - [x] No.
   
   ### Local validation
   
   - Full FE Checkstyle and the standard ten-class FE test run passed: 237 
tests, zero failures, errors or skips.
   - Local review of the complete target-branch patch converged with zero 
unresolved findings.
   - Actual compiled adapters passed append and ReplacePartitions against 
secured Kerberos/HDFS using SDK 1.11.0, with SDK workers prewarmed under an 
unrelated identity and another valid user denied by ACLs. Scope: metadata 
manifest commits, not Parquet row reads or HMS/SQL execution.
   - Both regression scripts are identical to the source PR's syntax-checked 
scripts; external HMS/BE SQL execution remains for CI.
   


-- 
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]

Reply via email to