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 2022/04/29 07:21:48 UTC

[GitHub] [incubator-kyuubi] ulysses-you commented on a diff in pull request #2466: [KYUUBI #2403] [Improvement] move addTimeoutMonitor to AbstractOperation because it was used in multiple engines

ulysses-you commented on code in PR #2466:
URL: https://github.com/apache/incubator-kyuubi/pull/2466#discussion_r861519714


##########
kyuubi-common/src/main/scala/org/apache/kyuubi/operation/AbstractOperation.scala:
##########
@@ -41,6 +42,25 @@ abstract class AbstractOperation(opType: OperationType, session: Session)
 
   final private[kyuubi] val statementId = handle.identifier.toString
 
+  protected var statementTimeoutCleaner: Option[ScheduledExecutorService] = None

Review Comment:
   can we also pull out the `statementTimeoutCleaner.foreach(_.shutdown())` from children ?



-- 
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