程序出现如下问题
est3:36113 of application 'application_1669792033719_0012'.
Job has been submitted with JobID 6be357865cee9d354912177cbe0e9c23------------------------------------------------------------
The program finished with the following exception:Job was submitted in detached mode. Results of job execution, such as accumulators, runtime, etc. are not available. Please make sure your program doesn't call an eager execution function [collect, print, printToErr, count].
org.apache.flink.core.execution.DetachedJobExecutionResult.getAccumulatorResult(DetachedJobExecutionResult.java:56)
org.apache.flink.api.java.DataSet.collect(D
博客内容讲述了在使用Flink进行大数据处理时遇到的问题,即Job被提交在分离模式下,导致无法获取执行结果。文章指出了collect、print、printToErr和count等算子在分离模式中不被支持,并提供了错误堆栈信息。作者提醒,若代码包含这些算子,应避免使用分离模式提交Job,以防止报错。
订阅专栏 解锁全文
2889

被折叠的 条评论
为什么被折叠?



