-
- Downloads
[SPARK-2455] Mark (Shippable)VertexPartition serializable
VertexPartition and ShippableVertexPartition are contained in RDDs but are not marked Serializable, leading to NotSerializableExceptions when using Java serialization. The fix is simply to mark them as Serializable. This PR does that and adds a test for serializing them using Java and Kryo serialization. Author: Ankur Dave <ankurdave@gmail.com> Closes #1376 from ankurdave/SPARK-2455 and squashes the following commits: ed4a51b [Ankur Dave] Make (Shippable)VertexPartition serializable 1fd42c5 [Ankur Dave] Add failing tests for Java serialization
Showing
- graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala 1 addition, 1 deletion.../org/apache/spark/graphx/impl/RoutingTablePartition.scala
- graphx/src/main/scala/org/apache/spark/graphx/impl/VertexPartitionBase.scala 2 additions, 1 deletion...la/org/apache/spark/graphx/impl/VertexPartitionBase.scala
- graphx/src/main/scala/org/apache/spark/graphx/impl/VertexPartitionBaseOps.scala 1 addition, 1 deletion...org/apache/spark/graphx/impl/VertexPartitionBaseOps.scala
- graphx/src/test/scala/org/apache/spark/graphx/impl/EdgePartitionSuite.scala 14 additions, 10 deletions...ala/org/apache/spark/graphx/impl/EdgePartitionSuite.scala
- graphx/src/test/scala/org/apache/spark/graphx/impl/VertexPartitionSuite.scala 19 additions, 1 deletion...a/org/apache/spark/graphx/impl/VertexPartitionSuite.scala
Please register or sign in to comment