turboFei commented on code in PR #7033: URL: https://github.com/apache/kyuubi/pull/7033#discussion_r2056957447
########## kyuubi-server/src/main/scala/org/apache/kyuubi/operation/BatchJobSubmission.scala: ########## @@ -212,7 +215,8 @@ class BatchJobSubmission( metadata match { case Some(metadata) if metadata.peerInstanceClosed => setState(OperationState.CANCELED) - case Some(metadata) if metadata.state == OperationState.PENDING.toString => + case Some(metadata) + if metadata.state == OperationState.PENDING.toString && metadata.engineId == null => Review Comment: In case the applicationInfo is set by peer https://github.com/apache/kyuubi/blob/7e199d6fdbdf52222bb3eadd056b9e5a2295f36e/kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala#L369-L385 -- 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-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org