aboutsummaryrefslogtreecommitdiff
path: root/docs/building-spark.md
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-03-31 13:52:59 -0700
committerJosh Rosen <joshrosen@databricks.com>2016-03-31 13:52:59 -0700
commita7af6cd2eaf9f6ff491b9e1fabfc9c6f3d0f54bf (patch)
treeed2f42c05660c73bec8a1e396780d91205883bd8 /docs/building-spark.md
parentb11887c086974dbab18b9f53e99a26bbe06e9c86 (diff)
downloadspark-a7af6cd2eaf9f6ff491b9e1fabfc9c6f3d0f54bf.tar.gz
spark-a7af6cd2eaf9f6ff491b9e1fabfc9c6f3d0f54bf.tar.bz2
spark-a7af6cd2eaf9f6ff491b9e1fabfc9c6f3d0f54bf.zip
[SPARK-14281][TESTS] Fix java8-tests and simplify their build
This patch fixes a compilation / build break in Spark's `java8-tests` and refactors their POM to simplify the build. See individual commit messages for more details. Author: Josh Rosen <joshrosen@databricks.com> Closes #12073 from JoshRosen/fix-java8-tests.
Diffstat (limited to 'docs/building-spark.md')
-rw-r--r--docs/building-spark.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/building-spark.md b/docs/building-spark.md
index 1e202acb9e..13aa80496e 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -180,14 +180,14 @@ For help in setting up IntelliJ IDEA or Eclipse for Spark development, and troub
Running only Java 8 tests and nothing else.
- mvn install -DskipTests -Pjava8-tests
+ mvn install -DskipTests
+ mvn -pl :java8-tests_2.11 test
or
- sbt -Pjava8-tests java8-tests/test
+ sbt java8-tests/test
-Java 8 tests are run when `-Pjava8-tests` profile is enabled, they will run in spite of `-DskipTests`.
-For these tests to run your system must have a JDK 8 installation.
+Java 8 tests are automatically enabled when a Java 8 JDK is detected.
If you have JDK 8 installed but it is not the system default, you can set JAVA_HOME to point to JDK 8 before running the tests.
# Building for PySpark on YARN