dongjoon-hyun commented on a change in pull request #32730:
URL: https://github.com/apache/spark/pull/32730#discussion_r645274836



##########
File path: core/src/main/scala/org/apache/spark/MapOutputTracker.scala
##########
@@ -146,6 +151,7 @@ private class ShuffleStatus(
       _numAvailableMapOutputs += 1
       invalidateSerializedMapOutputStatusCache()
     }
+    mapStatusesDeleted(mapIndex) = mapStatuses(mapIndex)

Review comment:
       Hi, @viirya and @mridulm .
   This is based on the semantic of this function description. With this, we 
will recover only the last one.
   ```
     /**
      * Register a map output. If there is already a registered location for 
the map output then it
      * will be replaced by the new location.
      */
   ```




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

Reply via email to