You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "zjp_jdev@163.com" <zj...@163.com> on 2016/12/16 03:23:57 UTC

How to load edge with properties file useing GraphX

Hi,
   I want to load a edge file  and vertex attriInfos file as follow ,how can i use these two files create Graph ?
  edge file -> "SrcId,DestId,propertis...  "   vertex attriInfos file-> "VID, properties..."   
   
   I learned about there have a GraphLoader object  that can load edge file with no properties  and then join Vertex properties to create Graph. So the issue is how to then attach edge properties.

   Thanks.



zjp_jdev@163.com

Re: How to load edge with properties file useing GraphX

Posted by Felix Cheung <fe...@hotmail.com>.
Have you checked out https://github.com/graphframes/graphframes?

It might be easier to work with DataFrame.


________________________________
From: zjp_jdev@163.com <zj...@163.com>
Sent: Thursday, December 15, 2016 7:23:57 PM
To: user
Subject: How to load edge with properties file useing GraphX

Hi,
   I want to load a edge file  and vertex attriInfos file as follow ,how can i use these two files create Graph ?
  edge file -> "SrcId,DestId,propertis...  "   vertex attriInfos file-> "VID, properties..."

   I learned about there have a GraphLoader object  that can load edge file with no properties  and then join Vertex properties to create Graph. So the issue is how to then attach edge properties.

   Thanks.

________________________________
zjp_jdev@163.com