fix: scope Celeborn bootstrap hooks to Comet clients - #5627
Conversation
ziting-openai
left a comment
There was a problem hiding this comment.
Reviewed 36f418e61672243ab90651f462ea7b34f7e44009 using spark-pr-review-memo. No P1 findings. One existing significant P2 remains: fallback admission after cancellation and failed transport. I added isolated reproduction evidence to that thread. This approval follows the requested zero-P1/fewer-than-three-P2 threshold.
Validation included unchanged current-head/parent Java probes with a Celeborn behavior fixture and logging shim, plus public JVM descriptor comparison and pinned Celeborn source review. I did not run the full Comet suite. Exact-head CI has one macOS scan JVM SIGSEGV whose connection to this patch is unestablished.
[ 🤖 posted by Codex on behalf of ziting-openai using the spark-pr-review-memo skill 🤖 ]
ziting-openai
left a comment
There was a problem hiding this comment.
Re-reviewed 9a75f9de3e37136968694a74a5d6ad2623780385 using spark-pr-review-memo. No P1 findings. The single-request fallback cancellation and cancellation-before-downgrade cases are fixed. One existing significant P2 remains when several already submitted precise requests are downgraded together: current-head reproduction. This approval follows the requested zero-P1/fewer-than-three-P2 threshold.
Validation: isolated unchanged-source Java probes compared this head with the prior reviewed head, including positive controls and the remaining multiple-request leak. Public partition-pusher JVM descriptors are unchanged. The probe used transport fixtures and a logging shim on JDK 21; I did not run the full Comet/Celeborn/Netty suite. Current-head CI is still in progress with no reported failures at preflight, and the released Celeborn 0.6.0/0.7.0 reflection checks passed.
[ 🤖 posted by Codex on behalf of ziting-openai using the spark-pr-review-memo skill 🤖 ]
|
cc @andygrove |
sunchao
left a comment
There was a problem hiding this comment.
Reviewed 9a75f9de3e37136968694a74a5d6ad2623780385 against 1e10eedd6e0303adcac4573f44d5c07ffb0fbacd. No verified P1/P2 findings. This was a source review, including the existing fallback-accounting discussion. I did not run tests or benchmarks.
Could you add a focused BASE/HEAD native-Celeborn microbenchmark for many partitions and constrained or slow workers, comparing throughput, enqueue/blocked time and retained bytes? Matched frame sizes, admission budgets and correctness checks would help quantify the new submission serialization and fallback concurrency limit.
andygrove
left a comment
There was a problem hiding this comment.
LGTM, no impact on non Celeborn users
|
Thanks! merged |
Which issue does this PR close?
Closes #5529.
Follow-up to #5352.
Rationale for this change
Comet installs a bootstrap hook in Celeborn's shared client factory to track transport ownership. Failures while installing or invoking that hook could escape into Celeborn client creation and disrupt ordinary, non-Comet Celeborn traffic. The hook also remained installed after the final Comet client released it.
What changes are included in this PR?
PushStateaccounting.How are these changes tested?
CelebornShufflePartitionPusherSuitewith the default Spark 4.1 profile: 53 tests passed.