spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madabhattula Rajesh Kumar <mrajaf...@gmail.com>
Subject GraphX path traversal
Date Mon, 02 Mar 2015 11:17:50 GMT
Hi,

I have a below edge list. How to find the parents path for every vertex?

Example :

Vertex 1 path : 2, 3, 4, 5, 6
Vertex 2 path : 3, 4, 5, 6
Vertex 3 path : 4,5,6
vertex 4 path : 5,6
vertex 5 path : 6

Could you please let me know how to do this? (or) Any suggestion

  Source Vertex Destination Vertex  1 2  2 3  3 4  4 5  5 6
Regards,
Rajesh

Mime
View raw message