giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Holland <>
Subject SimpleShortestPathsComputation with Edge List input file
Date Sun, 02 Jun 2013 23:25:12 GMT
I'm new to Giraph and I'm trying to run SimpleShortestPathsComputation
using an edge list input file. I have some questions and and error message
that hopefully I can get some help with.

Edge List File Format
What is the correct format for an edge list input file?
I have a .tsv file with a vertex represented as an integer. Is this

5 11
1 6
6 9
6 8
8 9

Input File Class:
Is*TextEdgeInputFormat *the only input format
that can be used for edge lists?

Output File Class:
Does the output format depend on the job you are running? I have been using*TextVertexOutputFormat* for

Run Command:
So this is the command I am using to try to run the
SimpleShortestPathsComputation using an edge list input file.

*bin/hadoop jar
org.apache.giraph.examples.SimpleShortestPathsComputation *
*-eif *
*-eip /simpleEdgeList/SimpleEdgeList.tsv *
*-of *
*-op /outShortest*
*-w 3*

Error Message
When I run the above command I get the following error message:
Exception in thread "main" java.lang.IllegalStateException: newInstance:
Couldn't instantiate

Thank you,

View raw message