diff --git a/docs/deployment/settings.md b/docs/deployment/settings.md index 34d33f863..f0089e0da 100644 --- a/docs/deployment/settings.md +++ b/docs/deployment/settings.md @@ -138,6 +138,7 @@ kyuubi\.delegation
\.token\.renew\.interval|
true
|
When true, engine register with hostname to zookeeper. When spark run on k8s with cluster mode, set to false to ensure that server can connect to engine
|
boolean
|
1.3.0
kyuubi\.engine
\.deregister\.exception
\.classes|
|
A comma separated list of exception classes. If there is any exception thrown, whose class matches the specified classes, the engine would deregister itself.
|
seq
|
1.2.0
kyuubi\.engine
\.deregister\.exception
\.messages|
|
A comma separated list of exception messages. If there is any exception thrown, whose message or stacktrace matches the specified message list, the engine would deregister itself.
|
seq
|
1.2.0
kyuubi\.engine
\.deregister\.exception
\.ttl|
PT30M
|
Time to live(TTL) for exceptions pattern specified in kyuubi.engine.deregister.exception.classes and kyuubi.engine.deregister.exception.messages to deregister engines. Once the total error count hits the kyuubi.engine.deregister.job.max.failures within the TTL, an engine will deregister itself and wait for self-terminated. Otherwise, we suppose that the engine has recovered from temporary failures.
|
duration
|
1.2.0
diff --git a/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala b/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala index a6cafb0e5..5dade0af6 100644 --- a/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala +++ b/kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala @@ -572,6 +572,14 @@ object KyuubiConf { "must be [1, 10] length alphabet string, e.g. 'abc', 'apache'") .createOptional + val ENGINE_CONNECTION_URL_USE_HOSTNAME: ConfigEntry[Boolean] = + buildConf("engine.connection.url.use.hostname") + .doc("When true, engine register with hostname to zookeeper. When spark run on k8s" + + " with cluster mode, set to false to ensure that server can connect to engine") + .version("1.3.0") + .booleanConf + .createWithDefault(true) + val ENGINE_SHARE_LEVEL: ConfigEntry[String] = buildConf("engine.share.level") .doc("Engines will be shared in different levels, available configs are: