giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Sarmento <rui_sarme...@hotmail.com>
Subject Running Shortest Paths with edge list
Date Sat, 18 May 2013 17:00:35 GMT
Hi,

I'm having trouble running the following example with a relatively small network edge list,
can someone please give me some hints on what I might be doing wrong?

> hadoop jar target/giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar
org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsVertex -if org.apache.giraph.io.TextEdgeInputFormat
-ip Relationships-Companies-FinancialOrg.tsv -of org.apache.giraph.io.TextVertexOutputFormat
-op shortestPathsOutputGraph -w 3


Exception in thread "main" java.lang.RuntimeException: class org.apache.giraph.io.TextEdgeInputFormat
not org.apache.giraph.graph.VertexInputFormat
        at org.apache.hadoop.conf.Configuration.setClass(Configuration.java:1078)
        at org.apache.giraph.GiraphConfiguration.setVertexInputFormatClass(GiraphConfiguration.java:701)
        at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:174)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.giraph.GiraphRunner.main(GiraphRunner.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
[110414015@hpcgrid-centos6 giraph]$


Many thanks,


 		 	   		  
Mime
View raw message