Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-965

Race in DAGSchedulerSuite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.1, 0.9.0
    • 0.9.0
    • Spark Core
    • None

    Description

      After https://github.com/apache/incubator-spark/pull/159, resubmitFailedStages is scheduled in the eventProcessorActor preStart to run periodically in the actor's thread. But DAGSchedulerSuite calls resubmitFailedStages directly from its own thread, which means that it is possible for both threads to be concurrently mutating shared data structures (e.g. the set of failed stages and cacheLocs), leading to failure of the test calling resubmitFailedStages.

      Attachments

        Activity

          People

            liancheng liancheng
            markhamstra Mark Hamstra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: