Skip to content
Snippets Groups Projects
Commit 348bcbca authored by Reynold Xin's avatar Reynold Xin
Browse files

Added a method to RDD to expose the ClassManifest.

parent f855e4fa
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,8 @@ abstract class RDD[T: ClassManifest](@transient sc: SparkContext) extends Serial
def preferredLocations(split: Split): Seq[String] = Nil
def context = sc
def manifest: ClassManifest[T] = classManifest[T]
// Get a unique ID for this RDD
val id = sc.newRddId()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment