Spark源码值提交任务

 
 /**
   * Return the number of elements in the RDD.
   */
  def count(): Long = sc.runJob(this, Utils.getIteratorSize _).sum
View Code
posted @ 2019-03-17 13:55  宝哥大数据  阅读(138)  评论(0编辑  收藏  举报