aboutsummaryrefslogtreecommitdiff
path: root/sql/hive-thriftserver/src/test
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2015-01-12 10:47:12 -0800
committerJosh Rosen <joshrosen@databricks.com>2015-01-12 10:47:12 -0800
commit82fd38dcdcc9f7df18930c0e08cc8ec34eaee828 (patch)
tree672d1c9cab176d85622ab9376bf2495dd0e8c65b /sql/hive-thriftserver/src/test
parent2130de9d8f50f52b9b2d296b377df81d840546b3 (diff)
downloadspark-82fd38dcdcc9f7df18930c0e08cc8ec34eaee828.tar.gz
spark-82fd38dcdcc9f7df18930c0e08cc8ec34eaee828.tar.bz2
spark-82fd38dcdcc9f7df18930c0e08cc8ec34eaee828.zip
[SPARK-5200] Disable web UI in Hive ThriftServer tests
Disables the Spark web UI in HiveThriftServer2Suite in order to prevent Jenkins test failures due to port contention. Author: Josh Rosen <joshrosen@databricks.com> Closes #3998 from JoshRosen/SPARK-5200 and squashes the following commits: a384416 [Josh Rosen] [SPARK-5200] Disable web UI in Hive Thriftserver tests.
Diffstat (limited to 'sql/hive-thriftserver/src/test')
-rw-r--r--sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala b/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala
index 7814aa38f4..b52a51d11e 100644
--- a/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala
+++ b/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala
@@ -143,6 +143,7 @@ class HiveThriftServer2Suite extends FunSuite with Logging {
| --hiveconf ${ConfVars.HIVE_SERVER2_TRANSPORT_MODE}=http
| --hiveconf ${ConfVars.HIVE_SERVER2_THRIFT_HTTP_PORT}=$port
| --driver-class-path ${sys.props("java.class.path")}
+ | --conf spark.ui.enabled=false
""".stripMargin.split("\\s+").toSeq
} else {
s"""$startScript
@@ -153,6 +154,7 @@ class HiveThriftServer2Suite extends FunSuite with Logging {
| --hiveconf ${ConfVars.HIVE_SERVER2_THRIFT_BIND_HOST}=localhost
| --hiveconf ${ConfVars.HIVE_SERVER2_THRIFT_PORT}=$port
| --driver-class-path ${sys.props("java.class.path")}
+ | --conf spark.ui.enabled=false
""".stripMargin.split("\\s+").toSeq
}