At 2014-12-04 02:08:45 -0800, Deep Pradhan <pradhandeep1...@gmail.com> wrote:
> I have a graph and I want to create RDDs equal in number to the nodes in
> the graph. How can I do that?
> If I have 10 nodes then I want to create 10 rdds. Is that possible in
> GraphX?

This is possible: you can collect the elements to the driver, then create an 
RDD for each element.

If you have so many elements that collect them to the driver is infeasible, 
there's probably an alternative solution that doesn't involve creating one RDD 
per element.

Ankur

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to