xinyiZzz opened a new issue #7142: URL: https://github.com/apache/incubator-doris/issues/7142
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version trunk ### What's Wrong? When the Export task fails, FE will retry by default, but the retry always fails. The reason is incomplete clear export status before Coordinator retry Export task Report an error: `2021-11-17 15:01:04,537 INFO (thrift-server-pool-1748|466474) [QeProcessorImpl.reportExecStatus():174] ReportExecStatus(): fragment_instance_id=57fa74e88ff54b35-b6c5c90bb3ed51de, query id=57fa74e88ff54b35-b6c5c90bb3ed51db, backend num: 2, ip: TNetworkAddress(hostname:172.16.0.95, port:57906) **2021-11-17 15:01:04,537 INFO (thrift-server-pool-1748|466474) [QeProcessorImpl.reportExecStatus():183] ReportExecStatus() runtime error, query TUniqueId(hi:6339507967673846581, lo:-5276590336294170149) does not exist** 2021-11-17 15:01:04,539 INFO (doris-mysql-nio I/O-3|92) [AcceptListener.handleEvent():50] Connection established. remote=/127.0.0.1:36772 2021-11-17 15:01:04,540 WARN (export_exporting_job_pool-4|451822) [Coordinator.sendFragment():593] exec plan fragment failed, errmsg=Failed to get query fragments context. Query may be timeout or be cancelled. host: , code: INTERNAL_ERROR, fragmentId=F01, backend=172.16.0.95:9060 2021-11-17 15:01:04,541 INFO (doris-mysql-nio-pool-20189|466388) [StmtExecutor.analyze():484] begin to analyze stmt: 11466983, forwarded stmt id: 0 2021-11-17 15:01:04,541 INFO (export_exporting_job_pool-4|451822) [Coordinator.cancelInternal():809] unfinished instance: 57fa74e88ff54b35-9b79f741478841a7 2021-11-17 15:01:04,541 WARN (export_exporting_job_pool-4|451822) [ExportExportingTask.actualExecCoord():213] export Coordinator execute failed. job: 93044 org.apache.doris.common.UserException: errCode = 2, detailMessage = Failed to get query fragments context. Query may be timeout or be cancelled. host: at org.apache.doris.qe.Coordinator.sendFragment(Coordinator.java:605) ~[palo-fe.jar:3.4.0] at org.apache.doris.qe.Coordinator.exec(Coordinator.java:490) ~[palo-fe.jar:3.4.0] at org.apache.doris.task.ExportExportingTask.actualExecCoord(ExportExportingTask.java:211) [palo-fe.jar:3.4.0] at org.apache.doris.task.ExportExportingTask.execOneCoord(ExportExportingTask.java:190) [palo-fe.jar:3.4.0] at org.apache.doris.task.ExportExportingTask.exec(ExportExportingTask.java:106) [palo-fe.jar:3.4.0] at org.apache.doris.task.MasterTask.run(MasterTask.java:31) [palo-fe.jar:3.4.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_161] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]` ### What You Expected? Can retry normally after Export task fails ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org