Hi Mas,
I never actually worked with GraphX, but one idea:
As far as I know, you can directly access the vertex and edge RDDs of your
Graph object. Why not simply run a .filter() on the edge RDD to get all
edges that originate from or end at your vertex?
Regards,
Jeff
2015-03-18 10:52 GMT+01:00
Hi,
Just to continue with the question.
I need to find the edges of one particular vertex. However,
(collectNeighbors/collectNeighborIds) provides the neighbors/neighborids for
all the vertices of the graph.
Any help in this regard will be highly appreciated.
Thanks,
--
View this message in co
Hi,
I think that there are two solutions;
1. Invalid edges send Iterator.empty messages in sendMsg of the Pregel API.
These messages make no effect on corresponding vertices.
2. Use GraphOps.(collectNeighbors/collectNeighborIds), not the Pregel API
so as to
handle active edge lists by yourself.