sepuri sai krishna created FLINK-40675:
------------------------------------------

             Summary: 
SqlGatewayServiceITCase.testReleaseLockWhenFailedToSubmitOperation is unstable
                 Key: FLINK-40675
                 URL: https://issues.apache.org/jira/browse/FLINK-40675
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Gateway
            Reporter: sepuri sai krishna


testReleaseLockWhenFailedToSubmitOperation fails intermittently on master CI:

{noformat}
org.apache.flink.table.gateway.api.utils.SqlGatewayException: Failed to 
submitOperation.
        at 
org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.submitOperation(SqlGatewayServiceImpl.java:150)
        at 
org.apache.flink.table.gateway.service.SqlGatewayServiceITCase.testReleaseLockWhenFailedToSubmitOperation(SqlGatewayServiceITCase.java:962)
Caused by: org.apache.flink.table.gateway.api.utils.SqlGatewayException: Failed 
to submit the operation to the thread pool.
Caused by: java.util.concurrent.RejectedExecutionException: Task ... rejected 
from java.util.concurrent.ThreadPoolExecutor@21fc80c2[Running, pool size = 500, 
active threads = 500, queued tasks = 0, completed tasks = 13]
{noformat}

It failed in 15 runs on 14 different days between 2026-07-23 and 2026-09-14, in 
the Default (Java 17), Java 11, Java 21, Hadoop 3.4.3 and AdaptiveScheduler 
profiles. Recent examples:
* https://github.com/apache/flink/actions/runs/34798011374/job/103837838497
* https://github.com/apache/flink/actions/runs/34666551863/job/103482148054
* https://github.com/apache/flink/actions/runs/33724735397/job/100553329795

FLINK-38439 reported the same failure in 2025 and was closed because it had 
only happened once.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to