Skip to content

[SPARK-8910] Fix MiMa flaky due to port contention issue #7300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

andrewor14
Copy link
Contributor

Due to the way MiMa works, we currently start a SQLContext pretty early on. This causes us to start a SparkUI that attempts to bind to port 4040. Because many tests run in parallel on the Jenkins machines, this causes port contention sometimes and fails the MiMa tests.

Note that we already disabled the SparkUI for scalatests. However, the MiMa test is run before we even have a chance to load the default scalatest settings, so we need to explicitly disable the UI ourselves.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jul 8, 2015

Test build #36835 has started for PR 7300 at commit b55a547.

@SparkQA
Copy link

SparkQA commented Jul 8, 2015

Test build #36835 has finished for PR 7300 at commit b55a547.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public final class Interval implements Serializable

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@JoshRosen
Copy link
Contributor

LGTM.

@rxin
Copy link
Contributor

rxin commented Jul 9, 2015

Merging this in.

asfgit pushed a commit that referenced this pull request Jul 9, 2015
Due to the way MiMa works, we currently start a `SQLContext` pretty early on. This causes us to start a `SparkUI` that attempts to bind to port 4040. Because many tests run in parallel on the Jenkins machines, this  causes port contention sometimes and fails the MiMa tests.

Note that we already disabled the SparkUI for scalatests. However, the MiMa test is run before we even have a chance to load the default scalatest settings, so we need to explicitly disable the UI ourselves.

Author: Andrew Or <[email protected]>

Closes #7300 from andrewor14/mima-flaky and squashes the following commits:

b55a547 [Andrew Or] Do not enable SparkUI during tests

(cherry picked from commit 47ef423)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in 47ef423 Jul 9, 2015
@andrewor14 andrewor14 deleted the mima-flaky branch July 9, 2015 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants