mymeiyi opened a new pull request, #35420:
URL: https://github.com/apache/doris/pull/35420

   ## Proposed changes
   
   S3 load can not be cancelled because the JobManager throws exception:
   ```
   2024-05-24 11:33:50,211 WARN (mysql-nio-pool-2|739) 
[StmtExecutor.handleDdlStmt():2951] DDL statement(cancel load where label = 
'txn_insert_concurrent_insert_2_647679386') process failed.
   org.apache.doris.job.exception.JobException: Load job does not exist
           at 
org.apache.doris.nereids.jobs.load.LabelProcessor.getJobs(LabelProcessor.java:73)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.job.manager.JobManager.cancelLoadJob(JobManager.java:432) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.DdlExecutor.execute(DdlExecutor.java:201) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.StmtExecutor.handleDdlStmt(StmtExecutor.java:2930) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.StmtExecutor.executeByLegacy(StmtExecutor.java:1011) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:622) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:533) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.executeQuery(ConnectProcessor.java:375) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:236) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MysqlConnectProcessor.handleQuery(MysqlConnectProcessor.java:177)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MysqlConnectProcessor.dispatch(MysqlConnectProcessor.java:205)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MysqlConnectProcessor.processOnce(MysqlConnectProcessor.java:258)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 
~[?:?]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 
~[?:?]
           at java.lang.Thread.run(Thread.java:833) ~[?:?]
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to