You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/08/03 01:56:12 UTC

[jira] [Commented] (SPARK-2712) Add a small note that mvn "package" must happen before "test"

    [ https://issues.apache.org/jira/browse/SPARK-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083804#comment-14083804 ] 

Sean Owen commented on SPARK-2712:
----------------------------------

The doc he links to does mention just that? I'm confused now too.

"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."

> Add a small note that mvn "package" must happen before "test"
> -------------------------------------------------------------
>
>                 Key: SPARK-2712
>                 URL: https://issues.apache.org/jira/browse/SPARK-2712
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 0.9.1, 1.0.0, 1.1.1
>         Environment: all
>            Reporter: Stephen Boesch
>            Assignee: Stephen Boesch
>            Priority: Trivial
>              Labels: documentation
>             Fix For: 1.1.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Add to the building-with-maven.md:
> Requirement: build packages before running tests
> Tests must be run AFTER the "package" target has already been executed. 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
> BTW Reynold Xin requested this tiny doc improvement.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org