spark-instrumented-optimizer/project
Marcelo Vanzin a1d9e5cc60 [SPARK-8126] [BUILD] Use custom temp directory during build.
Even with all the efforts to cleanup the temp directories created by
unit tests, Spark leaves a lot of garbage in /tmp after a test run.
This change overrides java.io.tmpdir to place those files under the
build directory instead.

After an sbt full unit test run, I was left with > 400 MB of temp
files. Since they're now under the build dir, it's much easier to
clean them up.

Also make a slight change to a unit test to make it not pollute the
source directory with test data.

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #6674 from vanzin/SPARK-8126 and squashes the following commits:

0f8ad41 [Marcelo Vanzin] Make sure tmp dir exists when tests run.
643e916 [Marcelo Vanzin] [MINOR] [BUILD] Use custom temp directory during build.
2015-06-08 15:37:28 +01: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 [SPARK-7801] [BUILD] Updating versions to SPARK 1.5.0 2015-06-03 10:11:27 -07:00
MimaExcludes.scala [SPARK-2808] [STREAMING] [KAFKA] cleanup tests from 2015-06-07 21:42:45 +01:00
plugins.sbt [SPARK-5610] [DOC] update genjavadocSettings to use the patched version of genjavadoc 2015-05-30 17:21:41 -07:00
SparkBuild.scala [SPARK-8126] [BUILD] Use custom temp directory during build. 2015-06-08 15:37:28 +01:00