我是靠谱客的博主 懦弱花瓣,这篇文章主要介绍spark启动失败:requirement failed: No output operations registered, so nothing to execute,现在分享给大家,希望可以做个参考。

报错:

Exception in thread "main" java.lang.IllegalArgumentException: requirement failed: No output operations registered, so nothing to execute

 

原因:在start后,没有触发spark的流数据动作,任意一个触发DStream的动作即可解决该问题,比如JavaReceiverInputDStream的:

print()

 

 

最后

以上就是懦弱花瓣最近收集整理的关于spark启动失败:requirement failed: No output operations registered, so nothing to execute的全部内容,更多相关spark启动失败:requirement内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(55)

评论列表共有 0 条评论

立即
投稿
返回
顶部