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

Fix Flaky Test: o.a.s.scheduler.BlacklistIntegrationSuite

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • Scheduler, Spark Core
    • None

    Description

      BlacklistIntegrationSuite (introduced by SPARK-10372) is a bit flaky because of some race conditions:

      1. Failed jobs might have non-empty results, because the resultHandler will be invoked for successful tasks (if there are task successes before failures)

      2. taskScheduler.taskIdToTaskSetManager must be protected by a lock on taskScheduler

      Attachments

        Activity

          People

            irashid Imran Rashid
            irashid Imran Rashid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: