diff options
author | Andrew Or <andrewor14@gmail.com> | 2014-08-02 12:11:50 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-08-02 12:12:56 -0700 |
commit | e09e18b3123c20e9b9497cf606473da500349d4d (patch) | |
tree | 4f42a80566b791bc95e4f28441b1fa11334bec2f /pom.xml | |
parent | 87738bfa4051771ddfb8c4a4c1eb142fd77e3a46 (diff) | |
download | spark-e09e18b3123c20e9b9497cf606473da500349d4d.tar.gz spark-e09e18b3123c20e9b9497cf606473da500349d4d.tar.bz2 spark-e09e18b3123c20e9b9497cf606473da500349d4d.zip |
[HOTFIX] Do not throw NPE if spark.test.home is not set
`spark.test.home` was introduced in #1734. This is fine for SBT but is failing maven tests. Either way it shouldn't throw an NPE.
Author: Andrew Or <andrewor14@gmail.com>
Closes #1739 from andrewor14/fix-spark-test-home and squashes the following commits:
ce2624c [Andrew Or] Do not throw NPE if spark.test.home is not set
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -868,10 +868,10 @@ <filereports>${project.build.directory}/SparkTestSuite.txt</filereports> <argLine>-Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine> <stderr/> - <environmentVariables> - <SPARK_HOME>${session.executionRootDirectory}</SPARK_HOME> - <SPARK_TESTING>1</SPARK_TESTING> - </environmentVariables> + <systemProperties> + <spark.test.home>${session.executionRootDirectory}</spark.test.home> + <spark.testing>1</spark.testing> + </systemProperties> </configuration> <executions> <execution> |