Hi,
You have to specify EdgeInputFormat.
For another class of mine I use the following command (wrting for just
reference):
hadoop jar
giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-1.0.2-jar-with-dependencies.jar
org.apache.giraph.GiraphRunner
org.apache.giraph.examples.LinkRank.LinkRankVertex
-vif org.apache.giraph.examples.LinkRank.LinkRankVertexInputFormat
-eif org.apache.giraph.examples.LinkRank.LinkRankEdgeInputFormat
-of org.apache.giraph.examples.LinkRank.LinkRankVertexOutputFormat
-w 1
-vip nodes.txt
-eip edges.txt
-op linkOutput4
You can see the sample EdgeInputFormat on http://bit.ly/174RfHG.
On 06/24/2013 11:33 AM, 김원배 wrote:
and when I command like this,
hadoop jar \
/home/wb/giraph-1.0.0/giraph-examples/target/giraph-examples-1.0.0-for-hadoop-0.20.203.0-jar-with-dependencies.jar
\
org.apache.giraph.GiraphRunner \
org.apache.giraph.examples.SimpleShortestPathsVertex \
-vif
org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat \
-vip /in/input \
-of org.apache.giraph.io.formats.IdWithValueTextOutputFormat \
-op /outShortest \
-w 1
I get this result.
13/06/24 16:40:54 INFO utils.ConfigurationUtils: No edge input format
specified. Ensure your InputFormat does not require one.