akpatnam25 commented on code in PR #36601:
URL: https://github.com/apache/spark/pull/36601#discussion_r878407651
##########
core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala:
##########
@@ -1885,6 +1885,14 @@ private[spark] class DAGScheduler(
mapOutputTracker.
unregisterMergeResult(shuffleId, reduceId, bmAddress,
Option(mapIndex))
}
+ } else {
+ // Unregister the merge result of <shuffleId, reduceId> if
+ // there is a FetchFailed event and is not a
+ // MetaDataFetchException which is signified by bmAddress being
null
+ if (bmAddress != null) {
+ mapOutputTracker.
+ unregisterMergeResult(shuffleId, reduceId, bmAddress, None)
+ }
Review Comment:
yep, added a condition to check for the special shuffle-push-merger
executor, where we only remove the outputs and not the executor itself.
added a corresponding UT too.
--
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]