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 38a638497..4e647b727 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 @@ -326,6 +326,7 @@ object KyuubiConf { .createWithDefaultString("PT1H") val KINIT_MAX_ATTEMPTS: ConfigEntry[Int] = buildConf("kyuubi.kinit.max.attempts") + .serverOnly .doc("How many times will `kinit` process retry") .version("1.0.0") .intConf @@ -339,6 +340,7 @@ object KyuubiConf { val CREDENTIALS_RENEWAL_INTERVAL: ConfigEntry[Long] = buildConf("kyuubi.credentials.renewal.interval") + .serverOnly .doc("How often Kyuubi renews one user's delegation tokens") .version("1.4.0") .timeConf @@ -346,6 +348,7 @@ object KyuubiConf { val CREDENTIALS_RENEWAL_RETRY_WAIT: ConfigEntry[Long] = buildConf("kyuubi.credentials.renewal.retry.wait") + .serverOnly .doc("How long to wait before retrying to fetch new credentials after a failure.") .version("1.4.0") .timeConf @@ -354,6 +357,7 @@ object KyuubiConf { val CREDENTIALS_UPDATE_WAIT_TIMEOUT: ConfigEntry[Long] = buildConf("kyuubi.credentials.update.wait.timeout") + .serverOnly .doc("How long to wait until the credentials are ready.") .version("1.5.0") .timeConf @@ -362,6 +366,7 @@ object KyuubiConf { val CREDENTIALS_CHECK_INTERVAL: ConfigEntry[Long] = buildConf("kyuubi.credentials.check.interval") + .serverOnly .doc("The interval to check the expiration of cached pairs.") .version("1.6.0") .timeConf @@ -370,6 +375,7 @@ object KyuubiConf { val CREDENTIALS_IDLE_TIMEOUT: ConfigEntry[Long] = buildConf("kyuubi.credentials.idle.timeout") + .serverOnly .doc("The inactive users' credentials will be expired after a configured timeout") .version("1.6.0") .timeConf @@ -385,6 +391,7 @@ object KyuubiConf { val CREDENTIALS_HADOOP_FS_URIS: ConfigEntry[Seq[String]] = buildConf("kyuubi.credentials.hadoopfs.uris") + .serverOnly .doc("Extra Hadoop filesystem URIs for which to request delegation tokens. " + "The filesystem that hosts fs.defaultFS does not need to be listed here.") .version("1.4.0") @@ -410,6 +417,7 @@ object KyuubiConf { val FRONTEND_PROTOCOLS: ConfigEntry[Seq[String]] = buildConf("kyuubi.frontend.protocols") + .serverOnly .doc("A comma-separated list for all frontend protocols " + "