Allow specifying the tmp dir Patch by mshuler, reviewed by brandonwilliams for CASSANDRA-7712
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b2aa67ea Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b2aa67ea Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b2aa67ea Branch: refs/heads/cassandra-2.1 Commit: b2aa67ea298044f4c4ad905e54963f0c03643b68 Parents: 0814737 Author: Brandon Williams <brandonwilli...@apache.org> Authored: Tue Mar 17 14:33:27 2015 -0500 Committer: Brandon Williams <brandonwilli...@apache.org> Committed: Tue Mar 17 14:33:27 2015 -0500 ---------------------------------------------------------------------- CHANGES.txt | 1 + build.xml | 2 ++ 2 files changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/b2aa67ea/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 65f2da4..f10a89a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 2.0.14: + * Allow specifying the tmp dir (CASSANDRA-7712) * Improve compaction estimated tasks estimation (CASSANDRA-8904) * Fix duplicate up/down messages sent to native clients (CASSANDRA-7816) * Expose commit log archive status via JMX (CASSANDRA-8734) http://git-wip-us.apache.org/repos/asf/cassandra/blob/b2aa67ea/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index bdbd10a..f5e14ba 100644 --- a/build.xml +++ b/build.xml @@ -60,6 +60,7 @@ <property name="test.long.src" value="${test.dir}/long"/> <property name="test.pig.src" value="${test.dir}/pig"/> <property name="dist.dir" value="${build.dir}/dist"/> + <property name="tmp.dir" value="${java.io.tmpdir}"/> <property name="source.version" value="1.7"/> <property name="target.version" value="1.7"/> @@ -1098,6 +1099,7 @@ <jvmarg value="-Dmigration-sstable-root=${test.data}/migration-sstables"/> <jvmarg value="-Dcassandra.ring_delay_ms=1000"/> <jvmarg value="-Dcassandra.tolerate_sstable_size=true"/> + <jvmarg value="-Djava.io.tmpdir=${tmp.dir}"/> </testmacro> </target>