Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21698#discussion_r200080466
--- Diff: core/src/main/scala/org/apache/spark/MapOutputTracker.scala ---
@@ -434,6 +434,17 @@ private[spark] class MapOutputTrackerMaster(
}
}
+ /** Unregister all map output information of the given shuffle. */
+ def unregisterAllMapOutput(shuffleId: Int) {
+ shuffleStatuses.get(shuffleId) match {
+ case Some(shuffleStatus) =>
+ shuffleStatus.removeOutputsByFilter(x => true)
+ incrementEpoch()
+ case None =>
+ throw new SparkException("unregisterMapOutput called for
nonexistent shuffle ID")
--- End diff --
`unregisterMapOutput` -> `unregisterAllMapOutput`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]