Why does the RDD works slower than usual List in spark?

后端 未结 0 1879
时光取名叫无心
时光取名叫无心 2020-12-02 15:19

I wanted to compare efficiency of RDD compared to usual List in scala spark.

val list = Range(1, 1000000, 1)
val dist_list = sc.parallelize(list)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题