Re: noob: how to extract different members of a VertexRDD

2014-08-19 Thread Ankur Dave
At 2014-08-19 12:47:16 -0700, spr wrote: > One follow-up question. If I just wanted to get those values into a vanilla > variable (not a VertexRDD or Graph or ...) so I could easily look at them in > the REPL, what would I do? Are the aggregate data structures inside the > VertexRDD/Graph/... Ar

Re: noob: how to extract different members of a VertexRDD

2014-08-19 Thread spr
://apache-spark-user-list.1001560.n3.nabble.com/noob-how-to-extract-different-members-of-a-VertexRDD-tp12399p12404.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: noob: how to extract different members of a VertexRDD

2014-08-19 Thread Ankur Dave
(+user) On Tue, Aug 19, 2014 at 12:05 PM, spr wrote: > I want to assign each vertex to a community with the name of the vertex. As I understand it, you want to set the vertex attributes of a graph to the corresponding vertex ids. You can do this using Graph#mapVertices [1] as follows: val

noob: how to extract different members of a VertexRDD

2014-08-19 Thread spr
^ What am I missing? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/noob-how-to-extract-different-members-of-a-VertexRDD-tp12399.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --