Repository: spark
Updated Branches:
  refs/heads/master 88547a09f -> f0f1ba09b


SPARK-3404 [BUILD] SparkSubmitSuite fails with "spark-submit exits with code 1"

This fixes the `SparkSubmitSuite` failure by setting 
`<spark.ui.port>0</spark.ui.port>` in the Maven build, to match the SBT build. 
This avoids a port conflict which causes failures.

(This also updates the `scalatest` plugin off of a release candidate, to the 
identical final release.)

Author: Sean Owen <[email protected]>

Closes #2328 from srowen/SPARK-3404 and squashes the following commits:

512d782 [Sean Owen] Set spark.ui.port=0 in Maven scalatest config to match SBT 
build and avoid SparkSubmitSuite failure due to port conflict


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

Branch: refs/heads/master
Commit: f0f1ba09b195f23f0c89af6fa040c9e01dfa8951
Parents: 88547a0
Author: Sean Owen <[email protected]>
Authored: Tue Sep 9 10:24:00 2014 -0700
Committer: Reynold Xin <[email protected]>
Committed: Tue Sep 9 10:24:00 2014 -0700

----------------------------------------------------------------------
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f0f1ba09/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d051905..64fb1e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -888,7 +888,7 @@
         <plugin>
           <groupId>org.scalatest</groupId>
           <artifactId>scalatest-maven-plugin</artifactId>
-          <version>1.0-RC2</version>
+          <version>1.0</version>
           <configuration>
             
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
             <junitxml>.</junitxml>
@@ -899,6 +899,7 @@
               <java.awt.headless>true</java.awt.headless>
               
<spark.test.home>${session.executionRootDirectory}</spark.test.home>
               <spark.testing>1</spark.testing>
+              <spark.ui.port>0</spark.ui.port>
             </systemProperties>
           </configuration>
           <executions>


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

Reply via email to