zhouyifan279 commented on a change in pull request #1074:
URL: https://github.com/apache/incubator-kyuubi/pull/1074#discussion_r706978774
##########
File path:
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/SparkSQLBackendService.scala
##########
@@ -33,9 +38,40 @@ import org.apache.kyuubi.session.SessionManager
* that this backend service holds to run
[[org.apache.kyuubi.operation.Operation]]s.
*/
class SparkSQLBackendService(name: String, spark: SparkSession)
- extends AbstractBackendService(name) {
+ extends AbstractBackendService(name) with Logging {
def this(spark: SparkSession) =
this(classOf[SparkSQLBackendService].getSimpleName, spark)
override val sessionManager: SessionManager = new
SparkSQLSessionManager(spark)
+
+ override def renewDelegationToken(
+ sessionHandle: SessionHandle,
+ authFactory: KyuubiAuthenticationFactory,
Review comment:
Moved method to a new class `SparkThriftFrontendService` to avoid
introducing redundant method to other `BackendService`.
--
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]