Repository: spark
Updated Branches:
  refs/heads/branch-1.1 fb2a2079f -> 1992175fd


SPARK-2712 - Add a small note to maven doc that mvn package must happen ...

Per request by Reynold adding small note about proper sequencing of build then 
test.

Author: Stephen Boesch <[email protected]>

Closes #1615 from javadba/docs and squashes the following commits:

6c3183e [Stephen Boesch] Moved updated testing blurb per PWendell
5764757 [Stephen Boesch] SPARK-2712 - Add a small note to maven doc that mvn 
package must happen before test
(cherry picked from commit f8cd143b6b1b4d8aac87c229e5af263b0319b3ea)

Signed-off-by: Patrick Wendell <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1992175f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1992175f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1992175f

Branch: refs/heads/branch-1.1
Commit: 1992175fd93f0239e5a09e0b8db99ad9af7f380c
Parents: fb2a207
Author: Stephen Boesch <[email protected]>
Authored: Sun Aug 3 10:19:04 2014 -0700
Committer: Patrick Wendell <[email protected]>
Committed: Sun Aug 3 10:20:11 2014 -0700

----------------------------------------------------------------------
 docs/building-with-maven.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/1992175f/docs/building-with-maven.md
----------------------------------------------------------------------
diff --git a/docs/building-with-maven.md b/docs/building-with-maven.md
index 55a9e37..672d0ef 100644
--- a/docs/building-with-maven.md
+++ b/docs/building-with-maven.md
@@ -98,7 +98,12 @@ mvn -Pyarn-alpha -Phadoop-2.3 -Dhadoop.version=2.3.0 
-Dyarn.version=0.23.7 -Dski
 
 # Spark Tests in Maven
 
-Tests are run by default via the [ScalaTest Maven 
plugin](http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin). 
Some of the require Spark to be packaged first, so always run `mvn package` 
with `-DskipTests` the first time. You can then run the tests with `mvn 
-Dhadoop.version=... test`.
+Tests are run by default via the [ScalaTest Maven 
plugin](http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin). 
+
+Some of the tests require Spark to be packaged first, so always run `mvn 
package` with `-DskipTests` the first time.  The following is an example of a 
correct (build, test) sequence:
+
+    mvn -Pyarn -Phadoop-2.3 -DskipTests -Phive clean package
+    mvn -Pyarn -Phadoop-2.3 -Phive test
 
 The ScalaTest plugin also supports running only a specific test suite as 
follows:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to