diff options
author | Reynold Xin <rxin@apache.org> | 2013-12-03 11:34:38 -0800 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2013-12-03 11:34:38 -0800 |
commit | 974a69d79c4bf64fd9f27b65c1c464d33e647e20 (patch) | |
tree | 9e9a2921dd57052b0249655b54f784f87b9a065b | |
parent | e34b4693d380c39d4a142515e416588e63d06297 (diff) | |
download | spark-974a69d79c4bf64fd9f27b65c1c464d33e647e20.tar.gz spark-974a69d79c4bf64fd9f27b65c1c464d33e647e20.tar.bz2 spark-974a69d79c4bf64fd9f27b65c1c464d33e647e20.zip |
Marked doCheckpointCalled as transient.
-rw-r--r-- | core/src/main/scala/org/apache/spark/rdd/RDD.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/rdd/RDD.scala b/core/src/main/scala/org/apache/spark/rdd/RDD.scala index 96e4841c78..893708f8f2 100644 --- a/core/src/main/scala/org/apache/spark/rdd/RDD.scala +++ b/core/src/main/scala/org/apache/spark/rdd/RDD.scala @@ -940,7 +940,7 @@ abstract class RDD[T: ClassManifest]( private var storageLevel: StorageLevel = StorageLevel.NONE /** Record user function generating this RDD. */ - private[spark] val origin = Utils.formatSparkCallSite + @transient private[spark] val origin = Utils.formatSparkCallSite private[spark] def elementClassManifest: ClassManifest[T] = classManifest[T] @@ -955,7 +955,7 @@ abstract class RDD[T: ClassManifest]( def context = sc // Avoid handling doCheckpoint multiple times to prevent excessive recursion - private var doCheckpointCalled = false + @transient private var doCheckpointCalled = false /** * Performs the checkpointing of this RDD by saving this. It is called by the DAGScheduler |