Victsm commented on a change in pull request #30480:
URL: https://github.com/apache/spark/pull/30480#discussion_r598311960
##########
File path: core/src/main/scala/org/apache/spark/MapOutputTracker.scala
##########
@@ -524,10 +669,37 @@ private[spark] class MapOutputTrackerMaster(
}
}
+ def registerMergeResult(shuffleId: Int, reduceId: Int, status: MergeStatus) {
+ shuffleStatuses(shuffleId).addMergeResult(reduceId, status)
+ }
+
+ def registerMergeResults(shuffleId: Int, statuses: Seq[(Int, MergeStatus)]):
Unit = {
+ statuses.foreach {
+ case (reduceId, status) => registerMergeResult(shuffleId, reduceId,
status)
+ }
+ }
+
+ def unregisterMergeResult(shuffleId: Int, reduceId: Int, bmAddress:
BlockManagerId) {
Review comment:
This method in our most recent internal version is being used by
DAGScheduler to unregister merge result in certain cases.
It will be reflected with SPARK-32920.
Would like to still keep it in this PR.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]