Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2712

Add a small note that mvn "package" must happen before "test"

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.9.1, 1.0.0, 1.1.1
    • 1.1.0
    • Documentation
    • all

    Description

      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.

      Attachments

        Activity

          People

            javadba Stephen Boesch
            javadba Stephen Boesch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: