You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2017/05/11 22:34:04 UTC

[jira] [Created] (SPARK-20715) MapStatuses shouldn't be redundantly stored in both ShuffleMapStage and MapOutputTracker

Josh Rosen created SPARK-20715:
----------------------------------

             Summary: MapStatuses shouldn't be redundantly stored in both ShuffleMapStage and MapOutputTracker
                 Key: SPARK-20715
                 URL: https://issues.apache.org/jira/browse/SPARK-20715
             Project: Spark
          Issue Type: Improvement
          Components: Scheduler, Shuffle
    Affects Versions: 2.3.0
            Reporter: Josh Rosen
            Assignee: Josh Rosen


Today the MapOutputTracker and ShuffleMapStage both maintain their own copies of MapStatuses. This creates the potential for bugs in case these two pieces of state become out of sync.

I believe that we can improve our ability to reason about the code by storing this information only in the MapOutputTracker. This can also help to reduce driver memory consumption.

I will provide more details in my PR, where I'll walk through the detailed arguments as to why we can take these two different metadata tracking formats and consolidate without loss of performance or correctness.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org