giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Presta <>
Subject Re: File input format in
Date Wed, 16 Jan 2013 23:47:26 GMT
Patch is up for review:

You will have to replace "if" with "vif" and "ip" with "vip" in your
Let me know if there are any more issues.


On 1/16/13 2:22 PM, "Alessandro Presta" <> wrote:

>Hi Jiadong,
>You're absolutely right.
>I'll fix this as part of GIRAPH-431 (EdgeInputFormat support in
>Thanks for catching this!
>On 1/16/13 1:17 PM, "Jiadong Wu" <> wrote:
>>Hi All,
>>I'm new to Giraph and related hadoop projects. After playing with it
>>for several days I finally get the shortest path example running. The
>>roadblock turns out to be the file input format setting in
>>With the input files provided at wiki page, the shortest path example
>>should work out of the box. However, the following command will lead
>>to a IOException in master thread,
>>$ hadoop jar 
>>org.apache.giraph.examples.SimpleShortestPathsVertex -w 3 -if
>>-ip shortestPathsInputGraph -of
>>-op shortestPathsOutputGraph
>>The reason is that the underlying TextVertexInputFormat reads data
>>from GiraphTextInputFormat but GiraphRunner sets input path with
>>hadoop.mapreduce.lib.input.FileInputFormat. To run the shortest path
>>example, the should import
>> and should use
>>GiraphFileInputFormat.addVertexInputPath to set the path. However, I'm
>>not sure whether this modification will make GiraphRunner less

View raw message