spark-instrumented-optimizer/project
Marcelo Vanzin c53c902fa9 [SPARK-9284] [TESTS] Allow all tests to run without an assembly.
This change aims at speeding up the dev cycle a little bit, by making
sure that all tests behave the same w.r.t. where the code to be tested
is loaded from. Namely, that means that tests don't rely on the assembly
anymore, rather loading all needed classes from the build directories.

The main change is to make sure all build directories (classes and test-classes)
are added to the classpath of child processes when running tests.

YarnClusterSuite required some custom code since the executors are run
differently (i.e. not through the launcher library, like standalone and
Mesos do).

I also found a couple of tests that could leak a SparkContext on failure,
and added code to handle those.

With this patch, it's possible to run the following command from a clean
source directory and have all tests pass:

  mvn -Pyarn -Phadoop-2.4 -Phive-thriftserver install

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #7629 from vanzin/SPARK-9284.
2015-08-28 12:33:40 -07:00
..
project [SPARK-6750] Upgrade ScalaStyle to 0.7. 2015-04-07 12:37:33 -07:00
build.properties [SPARK-5415] bump sbt to version to 0.13.7 2015-01-28 02:13:06 -08:00
MimaBuild.scala [HOTFIX] [BUILD] Fix MiMa checks in master branch; enable MiMa for launcher project 2015-06-23 23:03:59 -07:00
MimaExcludes.scala [SPARK-9580] [SQL] Replace singletons in SQL tests 2015-08-13 17:42:01 -07:00
plugins.sbt [SPARK-6782] add sbt-revolver plugin 2015-06-17 13:34:26 -07:00
SparkBuild.scala [SPARK-9284] [TESTS] Allow all tests to run without an assembly. 2015-08-28 12:33:40 -07:00