At 2014-08-01 11:23:49 +0800, Bin wrote:
> I am wondering what is the best way to construct a graph?
>
> Say I have some attributes for each user, and specific weight for each user
> pair. The way I am currently doing is first read user information and edge
> triple into two arrays, then use sc.
he
>same file, and then compile the project again?
>
>
>
>--
>View this message in context:
>http://apache-spark-user-list.1001560.n3.nabble.com/GraphX-The-best-way-to-construct-a-graph-tp11122p11138.html
>Sent from the Apache Spark User List mailing list archive at Nabble.com.
Have you tried to write another similar function like edgeListFile in the
same file, and then compile the project again?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/GraphX-The-best-way-to-construct-a-graph-tp11122p11138.html
Sent from the Apache Spark
think you can try GraphLoader.edgeListFile, and then use join to associate
>the attributes with each vertex
>
>
>
>--
>View this message in context:
>http://apache-spark-user-list.1001560.n3.nabble.com/GraphX-The-best-way-to-construct-a-graph-tp11122p11127.html
>Sent from the Apache Spark User List mailing list archive at Nabble.com.
I think you can try GraphLoader.edgeListFile, and then use join to associate
the attributes with each vertex
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/GraphX-The-best-way-to-construct-a-graph-tp11122p11127.html
Sent from the Apache Spark User List
Hi All,
I am wondering what is the best way to construct a graph?
Say I have some attributes for each user, and specific weight for each user
pair. The way I am currently doing is first read user information and edge
triple into two arrays, then use sc.parallelize to create vertexRDD and
edg