diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-06-05 14:11:38 +0200 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-06-05 14:11:38 +0200 |
commit | b16b5434ff44c42e4b3a337f9af147669ba44896 (patch) | |
tree | 47d87caa16e88d2e08a4f1794227ec5d5caff795 /data | |
parent | da20c8ca37663738112b04657057858ee3e55072 (diff) | |
download | spark-b16b5434ff44c42e4b3a337f9af147669ba44896.tar.gz spark-b16b5434ff44c42e4b3a337f9af147669ba44896.tar.bz2 spark-b16b5434ff44c42e4b3a337f9af147669ba44896.zip |
[MINOR] [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 #6653 from vanzin/unit-test-tmp and squashes the following commits:
31e2dd5 [Marcelo Vanzin] Fix tests that depend on each other.
aa92944 [Marcelo Vanzin] [minor] [build] Use custom temp directory during build.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions