Re: Questions on input/output format

2013-05-15 Thread Maria Stylianou
Cool, I didn't know that :) So in the command line we have the -eif for the edgeInputFormat and -vif for the vertexInputFormat? Keep us updated how it works and what other difficulties you may have! On Wed, May 15, 2013 at 6:36 PM, Alessandro Presta wrote: > Hi Han, > > You are correct: if you

Re: Questions on input/output format

2013-05-15 Thread Alessandro Presta
Hi Han, You are correct: if you are loading the graph with an EdgeInputFormat, but also need to load additional data for vertices, you want to use a VertexValueInputFormat. You can see an example in TestEdgeInput. Alessandro From: Han JU mailto:ju.han.fe...@gmail.com>> Reply-To: "user@giraph.a

Re: Questions on input/output format

2013-05-15 Thread Han JU
Thanks Maria. For the input part, in fact what I want to load is a bipartite graph, so nodes are in two separate sets. If I use TextEdgeInputFormat, how could I load data for the nodes? (for example a flag indicating in which set the node is). On the website it says: In the second case, edges wil

Re: Questions on input/output format

2013-05-15 Thread Maria Stylianou
The InputFormat is the code needed to read the input file. So, you cannot have two InputFormats, you should choose one of the two. >From my understanding, TextEdgeInputFormat is more suitable for you as it takes exactly the format of your input file: node1 node2 edgeValue The TextVertexInputFormat

Questions on input/output format

2013-05-15 Thread Han JU
Hi, Some questions: - My input file is a text file with edges: node1 node2 edgeValue, I figured it out that I should use TextEdgeInputFormat and TextVertexValueInputFormat. But how do these two things fit together? Should I prepare another file that contains only the node informations for Verte