遍历Spark的RDD

for i in rdd.collect()ide

    //i即为rdd中的每个元素
spa

    print(i)
it

相关文章
相关标签/搜索