Nope, and also tried with the following: 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)
Date: Sun, 19 May 2013 00:11:02 +0200 Subject: Re: Running Shortest Paths with edge list From: ju.han.fe...@gmail.com To: user@giraph.apache.org maybe change the command: > 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 -eif > org.apache.giraph.io.TextEdgeInputFormat -eip > Relationships-Companies-FinancialOrg.tsv -of > org.apache.giraph.io.TextVertexOutputFormat -op shortestPathsOutputGraph -w 3 which specify that it's an edge input class. 2013/5/18 Rui Sarmento <rui_sarme...@hotmail.com> Exception in thread "main" java.lang.ClassNotFoundException: org.apache.giraph.io.formats.TextEdgeInputFormat at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) 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) I've not verified other classes though, I'm almost sure this is the one I'm interested in for my edge list. Thanks, Date: Sat, 18 May 2013 20:56:25 +0200 Subject: Re: Running Shortest Paths with edge list From: ju.han.fe...@gmail.com To: user@giraph.apache.org Which class? Have you verified every class? 2013/5/18 Rui Sarmento <rui_sarme...@hotmail.com> Hi, Continues to throw class not found exception. Regards Date: Sat, 18 May 2013 19:40:22 +0200 Subject: Re: Running Shortest Paths with edge list From: ju.han.fe...@gmail.com To: user@giraph.apache.org I think the input format class should be org.apache.giraph.io.formats.TextEdgeInputFormat You can verified them by looking at the source code. 2013/5/18 Rui Sarmento <rui_sarme...@hotmail.com> 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, -- JU Han Software Engineer Intern @ KXEN Inc. UTC - Université de Technologie de Compiègne GI06 - Fouille de Données et Décisionnel +33 0619608888 -- JU Han Software Engineer Intern @ KXEN Inc. UTC - Université de Technologie de Compiègne GI06 - Fouille de Données et Décisionnel +33 0619608888 -- JU Han Software Engineer Intern @ KXEN Inc. UTC - Université de Technologie de Compiègne GI06 - Fouille de Données et Décisionnel +33 0619608888