Repository: spark
Updated Branches:
  refs/heads/branch-1.2 056149d10 -> a1ee09e67


[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.

(cherry picked from commit 82fd38dcdcc9f7df18930c0e08cc8ec34eaee828)
Signed-off-by: Josh Rosen <[email protected]>

Conflicts:
        
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suite.scala


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

Branch: refs/heads/branch-1.2
Commit: a1ee09e6777388c201ba5f833bacdf1211c3a08b
Parents: 056149d
Author: Josh Rosen <[email protected]>
Authored: Mon Jan 12 10:47:12 2015 -0800
Committer: Josh Rosen <[email protected]>
Committed: Mon Jan 12 10:48:36 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/a1ee09e6/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 23d12cb..1c619a8 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
@@ -129,6 +129,7 @@ class HiveThriftServer2Suite extends FunSuite with Logging {
          |  --hiveconf ${ConfVars.METASTOREWAREHOUSE}=$warehousePath
          |  --hiveconf ${ConfVars.HIVE_SERVER2_THRIFT_BIND_HOST}=${"localhost"}
          |  --hiveconf ${ConfVars.HIVE_SERVER2_THRIFT_PORT}=$port
+         |  --conf spark.ui.enabled=false
        """.stripMargin.split("\\s+").toSeq
 
     val serverRunning = Promise[Unit]()


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

Reply via email to