标签:table def class tor ati type each The targe
RDD中cache和persist的区别
通过观察RDD.scala源代码即可知道cache和persist的区别:
def persist(newLevel: StorageLevel): this.type = { sc.cleaner.foreach(_.registerRDDForCleanup(this)) /** Persist this RDD with the default storage level (`MEMORY_ONLY`). */
/** Persist this RDD with the default storage level (`MEMORY_ONLY`). */ |
标签:table def class tor ati type each The targe
原文地址:https://www.cnblogs.com/timssd/p/11167868.html