Skip to content

Commit bc74a9c

Browse files
committed
if op not terminated
1 parent e786c8d commit bc74a9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ private[v1] class BatchesResource extends ApiRequestContext with Logging {
362362
isOperationTerminated ||
363363
isApplicationTerminated ||
364364
metadata.kyuubiInstance == fe.connectionUrl) {
365-
if (isApplicationTerminated) {
365+
if (isApplicationTerminated && !isOperationTerminated) {
366366
buildBatch(
367367
metadata,
368368
Some(ApplicationInfo(

0 commit comments

Comments
 (0)