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
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan
/** A SQLContext that can be used for local testing. */
class LocalSQLContext
extends SQLContext(
new SparkContext(
"local[2]",
"TestSQLContext",
new SparkConf().set("spark.sql.testkey", "true"))) {
new SparkContext("local[2]", "TestSQLContext", new SparkConf()
.set("spark.sql.testkey", "true")
// SPARK-8910
.set("spark.ui.enabled", "false"))) {

override protected[sql] def createSession(): SQLSession = {
new this.SQLSession()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ object TestHive
"TestSQLContext",
new SparkConf()
.set("spark.sql.test", "")
.set(
"spark.sql.hive.metastore.barrierPrefixes",
"org.apache.spark.sql.hive.execution.PairSerDe")))
.set("spark.sql.hive.metastore.barrierPrefixes",
"org.apache.spark.sql.hive.execution.PairSerDe")
// SPARK-8910
.set("spark.ui.enabled", "false")))

/**
* A locally running test instance of Spark's Hive execution engine.
Expand Down