Just figured it out using Graph constructor you can pass the storage level
for both Edge and Vertex :
Graph.fromEdges(edges, defaultValue =
("",""),StorageLevel.MEMORY_AND_DISK,StorageLevel.MEMORY_AND_DISK )
Thanks to this post : https://issues.apache.org/jira/browse/SPARK-1991
-----
--Harihar
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Can-we-make-EdgeRDD-and-VertexRDD-storage-level-to-MEMORY-AND-DISK-tp19307p19335.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]