Make GraphImpl serializable to work around capture

This commit is contained in:
Ankur Dave 2014-01-09 13:26:17 -08:00
parent b5b0de2de5
commit 4aa9be1633

View file

@ -30,7 +30,7 @@ class GraphImpl[VD: ClassTag, ED: ClassTag] protected (
@transient val edges: EdgeRDD[ED],
@transient val routingTable: RoutingTable,
@transient val replicatedVertexView: ReplicatedVertexView[VD])
extends Graph[VD, ED] {
extends Graph[VD, ED] with Serializable {
def this(
vertices: VertexRDD[VD],