Kyle Ahn
06/21/2023, 7:33 PMflinksessionjob CRD, I am seeing [FLINK-24883] Use flink web ui to submit the jar throw Job client must be a CoordinationRequestGateway. This is a bug exception. Exception occurs here, but TL;DR is that the batch job needs a long-lived client, but flink jobs submitted via Rest API doesn’t have that.
Collecting results require a client to continuously fetching the result till the end or explicitly closes the iterator (causing the job to be cancelled). If client goes away without fetching all the results or terminating the job it will hang forever. Submitting by web UI does not fulfill this requirement (as it does not have a long existing client) so we're not supporting collect in web UI. I'll give out a more proper exception message and refine the document of collect.Kyle Ahn
06/21/2023, 7:40 PMGyula Fóra
06/22/2023, 6:49 PMbin/flink) I haven’t tested this bit it should work as long as you can connect to the cluster from the client machine