You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by rxin <gi...@git.apache.org> on 2014/08/01 01:10:46 UTC

[GitHub] spark pull request: [SPARK-2774] - Set preferred locations for red...

Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1697#discussion_r15675784
  
    --- Diff: core/src/main/scala/org/apache/spark/MapOutputTracker.scala ---
    @@ -284,6 +290,24 @@ private[spark] class MapOutputTrackerMaster(conf: SparkConf)
         cachedSerializedStatuses.contains(shuffleId) || mapStatuses.contains(shuffleId)
       }
     
    +  // Return the list of locations and blockSizes for each reducer.
    +  def getStatusByReducer(shuffleId: Int): Option[Map[Int, Array[(BlockManagerId, Long)]]] = {
    --- End diff --
    
    comment on the thread safety


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---