CryoThrust commented on PR #13264: URL: https://github.com/apache/seatunnel/pull/13264#issuecomment-7210130571
Thanks for clarifying the cancellation path. Commit `53d6cb242b0120dfa7def5d6cc87bedb3264aa70` addresses the lifetime gap and synchronizes the branch with dev `39c74ce48`, including the actual documentation conflict. The authentication context now retains an admitted operation until it settles, even if the waiting task is interrupted. Close is serialized with admission; client cleanup and worker termination complete before filesystem release/logout. Nested calls from the private pool still work without acquiring the waiting caller's lock. Client creation uses the same lifecycle instead of holding a provider monitor across the worker call. The record writer also retains a failed/interrupted flush outcome, so close cannot submit the uncertain batch again. This is a drain-before-teardown policy, not rollback or immediate cancellation: an already-started commit can still succeed, and underlying HDFS/network timeouts must bound a stuck I/O call. Both guides state that boundary. Validation: - The two new latch-controlled lifetime tests fail on the old implementation (early interrupted return and early concurrent cleanup), and pass with the fix. - A separate regression fails with the original flush method because close retries the batch; it passes with failure retention. - Direct/cached providers and write/delete paths use the real authentication pool with a paused mock client operation. They check ordering, one submission, identity, preserved interruption and one cleanup. These are not claimed as real secure-HDFS commits. - All 44 Hudi module tests and module verification pass on JDK 11 and 17. The eight-module dependency verification and scoped formatting checks pass too. - All six Hudi E2E test sources compile on JDK 11 after installing their local reactor dependencies. This was a compiler-only check; container runtime staging and execution are not claimed as passed. The existing invalid-credentials E2E additionally checks that rejection leaves no Hudi metadata. Docker is not running on this host, so the updated container E2E has not executed; the historical KDC/HDFS run is kept separate from current-head cancellation evidence in the PR description. New-head hosted CI and effective maintainer approval are still pending. -- 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]
