aboutsummaryrefslogtreecommitdiff
path: root/docs/building-spark.md
diff options
context:
space:
mode:
authorLuciano Resende <lresende@apache.org>2016-05-06 12:25:45 +0100
committerSean Owen <sowen@cloudera.com>2016-05-06 12:25:45 +0100
commita03c5e68abd8c066c97ebd388883070d59dce1a7 (patch)
tree178bd541e4b0207344339dba5c31360ca45dbbc9 /docs/building-spark.md
parent157a49aa410dc1870cd171148d317084c5a90d23 (diff)
downloadspark-a03c5e68abd8c066c97ebd388883070d59dce1a7.tar.gz
spark-a03c5e68abd8c066c97ebd388883070d59dce1a7.tar.bz2
spark-a03c5e68abd8c066c97ebd388883070d59dce1a7.zip
[SPARK-14738][BUILD] Separate docker integration tests from main build
## What changes were proposed in this pull request? Create a maven profile for executing the docker integration tests using maven Remove docker integration tests from main sbt build Update documentation on how to run docker integration tests from sbt ## How was this patch tested? Manual test of the docker integration tests as in : mvn -Pdocker-integration-tests -pl :spark-docker-integration-tests_2.11 compile test ## Other comments Note that the the DB2 Docker Tests are still disabled as there is a kernel version issue on the AMPLab Jenkins slaves and we would need to get them on the right level before enabling those tests. They do run ok locally with the updates from PR #12348 Author: Luciano Resende <lresende@apache.org> Closes #12508 from lresende/docker.
Diffstat (limited to 'docs/building-spark.md')
-rw-r--r--docs/building-spark.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/building-spark.md b/docs/building-spark.md
index fec442af95..13c95e4fcb 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -190,6 +190,18 @@ or
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.
+# Running Docker based Integration Test Suites
+
+Running only docker based integration tests and nothing else.
+
+ mvn install -DskipTests
+ mvn -Pdocker-integration-tests -pl :spark-docker-integration-tests_2.11
+
+or
+
+ sbt docker-integration-tests/test
+
+
# Packaging without Hadoop Dependencies for YARN
The assembly directory produced by `mvn package` will, by default, include all of Spark's dependencies, including Hadoop and some of its ecosystem projects. On YARN deployments, this causes multiple versions of these to appear on executor classpaths: the version packaged in the Spark assembly and the version on each node, included with `yarn.application.classpath`. The `hadoop-provided` profile builds the assembly without including Hadoop-ecosystem projects, like ZooKeeper and Hadoop itself.