zwangsheng commented on code in PR #3869:
URL: https://github.com/apache/incubator-kyuubi/pull/3869#discussion_r1039487403
##########
integration-tests/kyuubi-kubernetes-it/src/test/scala/org/apache/kyuubi/kubernetes/test/deployment/KyuubiOnKubernetesTestsSuite.scala:
##########
@@ -72,10 +74,17 @@ class KyuubiOnKubernetesWithSparkTestsBase extends
WithKyuubiServerOnKubernetes
* ------------ -------------------------------------------------
---------------------
*/
class KyuubiOnKubernetesWithClientSparkTestsSuite
- extends KyuubiOnKubernetesWithSparkTestsBase {
+ extends KyuubiOnKubernetesWithSparkTestsBase with SparkQueryTests {
override protected def connectionConf: Map[String, String] = {
- super.connectionConf ++ Map("spark.submit.deployMode" -> "client")
+ super.connectionConf ++ Map(
+ "spark.submit.deployMode" -> "client",
+ "spark.driver.host" -> kyuubiServerIp,
+ "kyuubi.frontend.connection.url.use.hostname" -> "false")
}
+
+ override protected def jdbcUrl: String = getJdbcUrl(connectionConf)
+
+ override protected lazy val user: String = "client"
Review Comment:
We using simpleDFS with cluster mode, we should use default user to avoid
conflict of permissions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]