Victsm commented on a change in pull request #30480:
URL: https://github.com/apache/spark/pull/30480#discussion_r534480851
##########
File path: core/src/main/scala/org/apache/spark/MapOutputTracker.scala
##########
@@ -554,7 +726,11 @@ private[spark] class MapOutputTrackerMaster(
def containsShuffle(shuffleId: Int): Boolean =
shuffleStatuses.contains(shuffleId)
def getNumAvailableOutputs(shuffleId: Int): Int = {
- shuffleStatuses.get(shuffleId).map(_.numAvailableOutputs).getOrElse(0)
+ shuffleStatuses.get(shuffleId).map(_.numAvailableMapOutputs).getOrElse(0)
+ }
+
+ def getNumAvailableMergeResults(shuffleId: Int): Int = {
Review comment:
This is only used in test, will clarify.
----------------------------------------------------------------
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]