Re: Questions on input/output format

2013-05-17 Thread Han JU
rtexValueInputFormat. >> You can see an example in TestEdgeInput. >> >> Alessandro >> >> From: Han JU >> Reply-To: "user@giraph.apache.org" >> Date: Wednesday, May 15, 2013 9:00 AM >> To: "user@giraph.apache.org" >> Subje

Re: Questions on input/output format

2013-05-15 Thread Maria Stylianou
.org" > Date: Wednesday, May 15, 2013 9:00 AM > To: "user@giraph.apache.org" > Subject: Re: Questions on input/output format > > Thanks Maria. > > For the input part, in fact what I want to load is a bipartite graph, so > nodes are in two separate sets. I

Re: Questions on input/output format

2013-05-15 Thread Alessandro Presta
"user@giraph.apache.org<mailto:user@giraph.apache.org>" mailto:user@giraph.apache.org>> Date: Wednesday, May 15, 2013 9:00 AM To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" mailto:user@giraph.apache.org>> Subject: Re: Questions on input/output

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