-
- Downloads
Added a getId method to split to force classes to specify a unique ID
for each split. This replaces the previous method of calling split.toString, which would produce different results for the same split each time it is deserialized (because the default implementation returns the Java object's address).
Showing
- src/scala/spark/HdfsFile.scala 3 additions, 1 deletionsrc/scala/spark/HdfsFile.scala
- src/scala/spark/ParallelArray.scala 1 addition, 1 deletionsrc/scala/spark/ParallelArray.scala
- src/scala/spark/RDD.scala 8 additions, 8 deletionssrc/scala/spark/RDD.scala
- src/scala/spark/Split.scala 11 additions, 1 deletionsrc/scala/spark/Split.scala
Please register or sign in to comment