diff options
author | Sean Owen <sowen@cloudera.com> | 2014-09-09 10:24:00 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-09-09 10:24:00 -0700 |
commit | f0f1ba09b195f23f0c89af6fa040c9e01dfa8951 (patch) | |
tree | 40caf0cf0921887b68de69dd7c14d25438c23057 | |
parent | 88547a09fcc25df132b401ecec4ebe1ef6778576 (diff) | |
download | spark-f0f1ba09b195f23f0c89af6fa040c9e01dfa8951.tar.gz spark-f0f1ba09b195f23f0c89af6fa040c9e01dfa8951.tar.bz2 spark-f0f1ba09b195f23f0c89af6fa040c9e01dfa8951.zip |
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 <sowen@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
-rw-r--r-- | pom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> |