You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/09/09 19:24:03 UTC

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

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 <so...@cloudera.com>

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 <so...@cloudera.com>
Authored: Tue Sep 9 10:24:00 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org