java.lang.IllegalArgumentException: requirement failed: No output operations registered, so nothing to execute
解决方法:tranformation最后一步产生的那个RDD必须有相应Action操作,例如massages.print()等
本文介绍了解决在使用Apache Spark时遇到的No output operations registered, so nothing to execute异常的方法。强调了在Transformation操作之后必须跟上至少一个Action操作的重要性。
java.lang.IllegalArgumentException: requirement failed: No output operations registered, so nothing to execute
解决方法:tranformation最后一步产生的那个RDD必须有相应Action操作,例如massages.print()等
1589
2656
562
3929
3910
2352

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