spark-instrumented-optimizer/bin
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
..
beeline SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
beeline.cmd [SPARK-4683][SQL] Add a beeline.cmd to run on Windows 2014-12-04 10:21:03 -08:00
load-spark-env.cmd [SPARK-6673] spark-shell.cmd can't start in Windows even when spark was built 2015-04-06 10:11:20 +01:00
load-spark-env.sh SPARK-4924 addendum. Minor assembly directory fix in load-spark-env-sh 2015-04-09 07:04:45 -04:00
pyspark [SPARK-9270] [PYSPARK] allow --name option in pyspark 2015-07-24 11:56:55 -07:00
pyspark.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
pyspark2.cmd [SPARK-9270] [PYSPARK] allow --name option in pyspark 2015-07-24 11:56:55 -07:00
run-example [SPARK-4924] Add a library for launching Spark jobs programmatically. 2015-03-11 01:03:01 -07:00
run-example.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
run-example2.cmd [SPARK-6673] spark-shell.cmd can't start in Windows even when spark was built 2015-04-06 10:11:20 +01:00
spark-class [SPARK-9284] [TESTS] Allow all tests to run without an assembly. 2015-08-28 12:33:40 -07:00
spark-class.cmd sbin/spark-class* -> bin/spark-class* 2014-01-03 15:08:01 +05:30
spark-class2.cmd [SPARK-6435] spark-shell --jars option does not add all jars to classpath 2015-04-28 07:56:36 -04:00
spark-shell [SPARK-9180] fix spark-shell to accept --name option 2015-07-22 16:15:44 -07:00
spark-shell.cmd [Minor] Remove permission for execution from spark-shell.cmd 2015-02-06 09:33:36 +00:00
spark-shell2.cmd [SPARK-9180] fix spark-shell to accept --name option 2015-07-22 16:15:44 -07:00
spark-sql [SPARK-6324] [CORE] Centralize handling of script usage messages. 2015-06-05 14:32:00 +02:00
spark-submit [SPARK-6324] [CORE] Centralize handling of script usage messages. 2015-06-05 14:32:00 +02:00
spark-submit.cmd [SPARK-3943] Some scripts bin\*.cmd pollutes environment variables in Windows 2014-10-14 18:50:14 -07:00
spark-submit2.cmd [SPARK-6324] [CORE] Centralize handling of script usage messages. 2015-06-05 14:32:00 +02:00
sparkR [SPARK-6324] [CORE] Centralize handling of script usage messages. 2015-06-05 14:32:00 +02:00
sparkR.cmd [SPARK-5654] Integrate SparkR 2015-04-08 22:45:40 -07:00
sparkR2.cmd [SPARK-5654] Integrate SparkR 2015-04-08 22:45:40 -07:00