Skip to content

Commit f0f1ba0

Browse files
srowenrxin
authored andcommitted
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
1 parent 88547a0 commit f0f1ba0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@
888888
<plugin>
889889
<groupId>org.scalatest</groupId>
890890
<artifactId>scalatest-maven-plugin</artifactId>
891-
<version>1.0-RC2</version>
891+
<version>1.0</version>
892892
<configuration>
893893
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
894894
<junitxml>.</junitxml>
@@ -899,6 +899,7 @@
899899
<java.awt.headless>true</java.awt.headless>
900900
<spark.test.home>${session.executionRootDirectory}</spark.test.home>
901901
<spark.testing>1</spark.testing>
902+
<spark.ui.port>0</spark.ui.port>
902903
</systemProperties>
903904
</configuration>
904905
<executions>

0 commit comments

Comments
 (0)