spark streaming如何将结果写到指定目录下的txt文本吗

0
已邀请:
0

Bob - 同程旅游大数据+BI 架构师 2016-05-12 回答

示例:
spark.repartition(1).saveAsTextFile("out.txt")

要回复问题请先登录注册