UNSUBSCRIBE
*** DISCLAIMER: This email and any files transmitted with it are privileged
and confidential information and intended solely for the use of the individual
or entity to which they are addressed. If you are not the intended recipient,
please notify the sender by e-mail and
Thanks for that!
This is the right idea, however I was only using a VertexReader until now
– IntNullReverseTextEdgeInputFormat calls for an EdgeReader.
I am not sure this is the way it works but I like the idea of segregating
edge and vertex definitions.
*That leads to the following questions:
OK, got by this problem. It turns out, I built Giraph using the
hadoop_2 profile, and not hadoop_yarn. When I switched to using mvn
-Phadoop_yarn, the problem I was experiencing changed... I now see log
messages showing Girpah connecting to the Yarn ResourceManager on port
8032, which is good.
Hi all,
I'm new to Giraph, now I successfully ran my first example by following the
instruction on Giraph - Quick Start. However, I met a question when I write my
own Giraph code.
In the quick start, The format of input graph is as following:
[0,0,[[1,1],[3,3]]]
[1,0,[[0,1],[2,2],[3,1]]]
Have a look at IntNullReverseTextEdgeInputFormat
https://giraph.apache.org/apidocs/org/apache/giraph/io/formats/IntNullReverseTextEdgeInputFormat.html.
It automatically creates reverse edges, but it expects the file format
source_id, target_id
on each line. If you need to convert it to use longs