You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/09/27 05:00:20 UTC
[GitHub] [incubator-kyuubi] zhang1002 commented on a change in pull request #1160: Support to config operation log root dir both for kyuubi server and engine sides
zhang1002 commented on a change in pull request #1160:
URL: https://github.com/apache/incubator-kyuubi/pull/1160#discussion_r716359654
##########
File path: kyuubi-common/src/main/scala/org/apache/kyuubi/session/SessionManager.scala
##########
@@ -41,6 +43,20 @@ abstract class SessionManager(name: String) extends CompositeService(name) {
@volatile private var shutdown = false
+ protected var _operationLogRoot: String = null
+
+ def operationLogRoot: String = _operationLogRoot
+
+ private def initOperationLogRootDir(): Unit = {
Review comment:
i think it should throw the exception or logger it in the log.
when user set this configuration item by themself, this dir perhaps has no permission for KYUUBI to create. It should let user to know.
--
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: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org