Repository: spark
Updated Branches:
  refs/heads/master 2130de9d8 -> 82fd38dcd


[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 <[email protected]>

Closes #3998 from JoshRosen/SPARK-5200 and squashes the following commits:

a384416 [Josh Rosen] [SPARK-5200] Disable web UI in Hive Thriftserver tests.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/82fd38dc
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/82fd38dc
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/82fd38dc

Branch: refs/heads/master
Commit: 82fd38dcdcc9f7df18930c0e08cc8ec34eaee828
Parents: 2130de9
Author: Josh Rosen <[email protected]>
Authored: Mon Jan 12 10:47:12 2015 -0800
Committer: Josh Rosen <[email protected]>
Committed: Mon Jan 12 10:47:12 2015 -0800

----------------------------------------------------------------------
 .../spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala       | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/82fd38dc/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala
----------------------------------------------------------------------
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 7814aa3..b52a51d 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
       }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to