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 5346d19a20b..6baca63e578 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 @@ -605,34 +605,6 @@ object KyuubiConf { .version("1.4.0") .fallbackConf(FRONTEND_MAX_MESSAGE_SIZE) - @deprecated("using kyuubi.frontend.thrift.login.timeout instead", "1.4.0") - val FRONTEND_LOGIN_TIMEOUT: ConfigEntry[Long] = - buildConf("kyuubi.frontend.login.timeout") - .doc("(deprecated) Timeout for Thrift clients during login to the thrift frontend service.") - .version("1.0.0") - .timeConf - .createWithDefault(Duration.ofSeconds(20).toMillis) - - val FRONTEND_THRIFT_LOGIN_TIMEOUT: ConfigEntry[Long] = - buildConf("kyuubi.frontend.thrift.login.timeout") - .doc("Timeout for Thrift clients during login to the thrift frontend service.") - .version("1.4.0") - .fallbackConf(FRONTEND_LOGIN_TIMEOUT) - - @deprecated("using kyuubi.frontend.thrift.backoff.slot.length instead", "1.4.0") - val FRONTEND_LOGIN_BACKOFF_SLOT_LENGTH: ConfigEntry[Long] = - buildConf("kyuubi.frontend.backoff.slot.length") - .doc("(deprecated) Time to back off during login to the thrift frontend service.") - .version("1.0.0") - .timeConf - .createWithDefault(Duration.ofMillis(100).toMillis) - - val FRONTEND_THRIFT_LOGIN_BACKOFF_SLOT_LENGTH: ConfigEntry[Long] = - buildConf("kyuubi.frontend.thrift.backoff.slot.length") - .doc("Time to back off during login to the thrift frontend service.") - .version("1.4.0") - .fallbackConf(FRONTEND_LOGIN_BACKOFF_SLOT_LENGTH) - val FRONTEND_THRIFT_HTTP_REQUEST_HEADER_SIZE: ConfigEntry[Int] = buildConf("kyuubi.frontend.thrift.http.request.header.size") .doc("Request header size in bytes, when using HTTP transport mode. Jetty defaults used.") @@ -3144,14 +3116,6 @@ object KyuubiConf { FRONTEND_MAX_MESSAGE_SIZE.key, "1.4.0", s"Use ${FRONTEND_THRIFT_MAX_MESSAGE_SIZE.key} instead"), - DeprecatedConfig( - FRONTEND_LOGIN_TIMEOUT.key, - "1.4.0", - s"Use ${FRONTEND_THRIFT_LOGIN_TIMEOUT.key} instead"), - DeprecatedConfig( - FRONTEND_LOGIN_BACKOFF_SLOT_LENGTH.key, - "1.4.0", - s"Use ${FRONTEND_THRIFT_LOGIN_BACKOFF_SLOT_LENGTH.key} instead"), DeprecatedConfig( SESSION_TIMEOUT.key, "1.2.0", diff --git a/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TBinaryFrontendService.scala b/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TBinaryFrontendService.scala index fadc9cf0697..a823b3b70dd 100644 --- a/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TBinaryFrontendService.scala +++ b/kyuubi-common/src/main/scala/org/apache/kyuubi/service/TBinaryFrontendService.scala @@ -101,8 +101,6 @@ abstract class TBinaryFrontendService(name: String) } _actualPort = tServerSocket.getServerSocket.getLocalPort val maxMessageSize = conf.get(FRONTEND_THRIFT_MAX_MESSAGE_SIZE) - val requestTimeout = conf.get(FRONTEND_THRIFT_LOGIN_TIMEOUT).toInt - val beBackoffSlotLength = conf.get(FRONTEND_THRIFT_LOGIN_BACKOFF_SLOT_LENGTH).toInt val args = new TThreadPoolServer.Args(tServerSocket) .processorFactory(tProcFactory) .transportFactory(transFactory)