You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2023/01/13 05:34:05 UTC
[GitHub] [kyuubi] bowenliang123 commented on a diff in pull request #4155: Reduce the application info call for batch
bowenliang123 commented on code in PR #4155:
URL: https://github.com/apache/kyuubi/pull/4155#discussion_r1068947067
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala:
##########
@@ -69,7 +69,13 @@ class BatchJobSubmission(
private[kyuubi] val batchId: String = session.handle.identifier.toString
- private var applicationInfo: Option[ApplicationInfo] = None
+ @volatile private var _applicationInfo: Option[ApplicationInfo] = None
+ def getOrFetchCurrentApplicationInfo: Option[ApplicationInfo] = {
Review Comment:
minor: the empty brace can be removed.
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org