summaryzb commented on code in PR #43280:
URL: https://github.com/apache/spark/pull/43280#discussion_r1349935364
##########
core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala:
##########
@@ -2580,7 +2580,7 @@ private[spark] class DAGScheduler(
// if the cluster manager explicitly tells us that the entire worker was
lost, then
// we know to unregister shuffle output. (Note that "worker" specifically
refers to the process
// from a Standalone cluster, where the shuffle service lives in the
Worker.)
- val fileLost = !sc.shuffleDriverComponents.supportsReliableStorage() &&
+ val fileLost = !sc.shuffleDriverComponents.supportsReliableStorage(execId)
&&
Review Comment:
Sounds reasonable, fix
##########
core/src/main/java/org/apache/spark/shuffle/api/ShuffleDriverComponents.java:
##########
@@ -62,12 +62,23 @@ default void registerShuffle(int shuffleId) {}
*/
default void removeShuffle(int shuffleId, boolean blocking) {}
+ /**
+ * This method is for compatibility with older implementations
+ * the implementation should just directly return true
+ * when use distributed filesystem or in a disaggregated shuffle cluster
+ */
Review Comment:
ok
--
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]