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

Refactor usage of Executor in ExecutorSuite to ensure proper cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.0.2
    • Tests
    • None

    Description

      Recently an issue was discovered that leaked Executors (which are not explicitly stopped after a test) can cause other tests to fail due to the JVM being killed after 10 min.

      It is therefore crucial that tests always stop the Executor. In most tests this is already the case, but to make this pattern more explicit it would be good to have a helper function that ensures stopping the executor in a finally block. 

      Attachments

        Activity

          People

            sgoos-db Sander Goos
            sgoos-db Sander Goos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: