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

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

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Scheduler
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: