Github user kayousterhout commented on a diff in the pull request:
https://github.com/apache/spark/pull/6652#discussion_r31765446
--- Diff: core/src/main/scala/org/apache/spark/MapOutputTracker.scala ---
@@ -232,6 +232,12 @@ private[spark] class MapOutputTrackerMaster(conf:
SparkConf)
protected val mapStatuses = new TimeStampedHashMap[Int,
Array[MapStatus]]()
private val cachedSerializedStatuses = new TimeStampedHashMap[Int,
Array[Byte]]()
+ // For each shuffleId we also maintain a Map from reducerId ->
(location, size)
+ // Lazily populated whenever the statuses are requested from DAGScheduler
+ private val statusByReducer =
--- End diff --
nit: could you rename this to shuffleIdToReduceLocations? With the current
name, I expected the main map to be keyed on reduce id.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]