File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
core/src/main/scala/org/apache/spark/sql/test
hive/src/main/scala/org/apache/spark/sql/hive/test Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan
2626/** A SQLContext that can be used for local testing. */
2727class LocalSQLContext
2828 extends SQLContext (
29- new SparkContext (
30- " local[2] " ,
31- " TestSQLContext " ,
32- new SparkConf () .set(" spark.sql.testkey " , " true " ))) {
29+ new SparkContext (" local[2] " , " TestSQLContext " , new SparkConf ()
30+ .set( " spark.sql.testkey " , " true " )
31+ // SPARK-8910
32+ .set(" spark.ui.enabled " , " false " ))) {
3333
3434 override protected [sql] def createSession (): SQLSession = {
3535 new this .SQLSession ()
Original file line number Diff line number Diff line change @@ -53,9 +53,10 @@ object TestHive
5353 " TestSQLContext" ,
5454 new SparkConf ()
5555 .set(" spark.sql.test" , " " )
56- .set(
57- " spark.sql.hive.metastore.barrierPrefixes" ,
58- " org.apache.spark.sql.hive.execution.PairSerDe" )))
56+ .set(" spark.sql.hive.metastore.barrierPrefixes" ,
57+ " org.apache.spark.sql.hive.execution.PairSerDe" )
58+ // SPARK-8910
59+ .set(" spark.ui.enabled" , " false" )))
5960
6061/**
6162 * A locally running test instance of Spark's Hive execution engine.
You can’t perform that action at this time.
0 commit comments