【Flink】Job was submitted in detached mode Please make sure your program doesn‘t call an eager execut

博客内容讲述了在使用Flink进行大数据处理时遇到的问题,即Job被提交在分离模式下,导致无法获取执行结果。文章指出了collect、print、printToErr和count等算子在分离模式中不被支持,并提供了错误堆栈信息。作者提醒,若代码包含这些算子,应避免使用分离模式提交Job,以防止报错。
摘要由CSDN通过智能技术生成

程序出现如下问题

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一杯咖啡半杯糖

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值