pan3793 commented on code in PR #5978:
URL: https://github.com/apache/kyuubi/pull/5978#discussion_r1452443375


##########
integration-tests/kyuubi-trino-it/src/test/scala/org/apache/kyuubi/it/trino/server/TrinoFrontendSuite.scala:
##########
@@ -53,8 +54,12 @@ class TrinoFrontendSuite extends WithKyuubiServer with 
SparkMetadataTests {
     }
   }
 
+  val kyuubiHome: String = 
Utils.getCodeSourceLocation(getClass).split("integration-tests").head
+
   override protected val conf: KyuubiConf = {
-    KyuubiConf().set(KyuubiConf.FRONTEND_PROTOCOLS, Seq("TRINO"))
+    KyuubiConf()
+      .set(KyuubiConf.FRONTEND_PROTOCOLS, Seq("TRINO"))
+      .set(s"$KYUUBI_ENGINE_ENV_PREFIX.$KYUUBI_HOME", kyuubiHome)

Review Comment:
   this is required, otherwise the server can not find SPARK_HOME correctly



-- 
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]

Reply via email to