FireFoxAhri opened a new issue #1128: URL: https://github.com/apache/incubator-linkis/issues/1128
**Describe the bug** Flink InsertOperation get stuck forever and then killed. But the value is successfully inserted. **To Reproduce** Steps to reproduce the behavior: 1. execute insert in flink engine **Expected behavior** Insert executed successfully and returned. **Additional context** After compare InsertAction and SelectAction, I found that SelectAction start a new Thread ```ResultRetrievalThread``` to fetch the result and then notify the main thread. But InsertAction is executed in one thread, so nofify is executed before wait, then the main thread will wait until timeout kill. Way to fix: match jobOperation and skip ```listener.waitForCompleted()``` if it is InsertOperation. See also: #1050 -- 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]
