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

Remove tests' dependency on the assembly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Tests
    • None

    Description

      Some tests - in particular tests that have to spawn child processes - currently rely on the generated Spark assembly to run properly.

      This is sub-optimal for a few reasons:

      • Users have to use an unnatural "package everything first, then run tests" approach
      • Sometimes tests are run using old code because the user forgot to rebuild the assembly

      The latter is particularly annoying in YarnClusterSuite. If you modify some code outside of the yarn/ module, you have to rebuild the whole assembly before that test picks it up.

      We should make all tests run without the need to have an assembly around, making sure that they always pick up the latest code compiled by the user.

      Attachments

        Activity

          People

            vanzin Marcelo Masiero Vanzin
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: