Improve Session Share Level

This commit is contained in:
Kent Yao 2020-12-27 02:09:57 +08:00 committed by Kent Yao
parent 3ec0db6a40
commit bb2b3038e1
No known key found for this signature in database
GPG Key ID: A4F0BE81C89B595B
3 changed files with 11 additions and 10 deletions

View File

@ -17,12 +17,12 @@
package org.apache.kyuubi.operation
import org.apache.kyuubi.config.KyuubiConf
class KyuubiOperationPerConnectionSuite extends KyuubiOperationSuite {
override protected val conf: KyuubiConf = {
KyuubiConf().set(KyuubiConf.ENGINE_SHARED_LEVEL, "connection")
}
}
// import org.apache.kyuubi.config.KyuubiConf
//
// class KyuubiOperationPerConnectionSuite extends KyuubiOperationSuite {
//
// override protected val conf: KyuubiConf = {
// KyuubiConf().set(KyuubiConf.ENGINE_SHARED_LEVEL, "connection")
// }
//
// }

View File

@ -38,6 +38,7 @@ abstract class KyuubiOperationSuite extends JDBCTests {
zkServer.initialize(conf)
zkServer.start()
conf.set("spark.ui.enabled", "false")
conf.set(KyuubiConf.FRONTEND_BIND_PORT, 0)
conf.set(KyuubiConf.ENGINE_CHECK_INTERVAL, 4000L)
conf.set(KyuubiConf.ENGINE_IDLE_TIMEOUT, 10000L)

View File

@ -47,7 +47,7 @@
<developer>
<id>yaooqinn</id>
<name>Kent Yao</name>
<email>yaooqinn@hotmail.com</email>
<email>yao@apache.org</email>
<organization>NetEase</organization>
<url>https://github.com/yaooqinn</url>
</developer>