venkata91 commented on PR #58437:
URL: https://github.com/apache/spark/pull/58437#issuecomment-6867532025

   thanks for digging into this. at least for Celeborn the risk is very 
limited: every FetchFailedException it throws passes a null BlockManagerId with 
map index -1 
([ExceptionMakerHelper.scala](https://github.com/apache/celeborn/blob/517a9b196d20d2f7f2e2f366b0cf392060ff127f/client-spark/spark-3/src/main/scala/org/apache/spark/celeborn/ExceptionMakerHelper.scala#L35-L36),
 
[CelebornShuffleReader.scala](https://github.com/apache/celeborn/blob/517a9b196d20d2f7f2e2f366b0cf392060ff127f/client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleReader.scala#L141-L142)
 and 
[here](https://github.com/apache/celeborn/blob/517a9b196d20d2f7f2e2f366b0cf392060ff127f/client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleReader.scala#L632-L633)).
 with a null address the DAGScheduler skips the executor cleanup entirely, so 
it never reaches these routes.
   
   that said, I went with option B in 34282f5 so we don't depend on what other 
shuffle clients do. removeExecutorAndUnregisterOutputs keeps the 
CleanupOutcome, and when it's a FetchFailed cleanup (failedShuffleId defined) 
whose outcome skipped the bump, it calls mapOutputTracker.incrementEpoch(). 
executor loss and worker removal keep the no-bump rule. the new test sends a 
map index -1 FetchFailed from hostA-exec, which has none of the failed 
shuffle's output, under a reliable plugin. the epoch now advances, and a stale 
FetchFailed from an older task on the same executor is still fenced (no second 
cleanup, no second bump). wdyt?
   


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