giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rodrigo zerbini <>
Subject Newbie problem - I can't run the Shortest Paths Example
Date Wed, 26 Sep 2012 19:01:18 GMT
Hello everybody.

My name is Rodrigo and I'm just starting a scientific initiation on graph
processing systems. I'm trying to run the Shortest Paths Example []
taking the following steps in terminal:

hadoop namenode -format
shortestPathsInputGraph shortestPathsOutputGraph 0 3

So I got this:

Exception in thread "main" Error opening job jar:
at org.apache.hadoop.util.RunJar.main(
Caused by: error in opening zip file
at Method)
 at java.util.jar.JarFile.<init>(
at java.util.jar.JarFile.<init>(
 at org.apache.hadoop.util.RunJar.main(

Alternatively, I tried to run making this:

hadoop- org.apache.giraph.GiraphRunner
org.apache.giraph.examples.SimpleShortestPathsVertex -if
org.apache.giraph.lib.JsonBase64VertexInputFormat -ip
shortestPathsInputGraph -of
org.apache.giraph.lib.JsonBase64VertexOutputFormat -op
shortestPathsOutputGraph -w 3

But I got the same error above.

Am I doing something wrong? I'm using hadoop version 0.2 and there was a
passage in the example saying that, in this case, the class
SimpleShortestPathsVertex does not have a main() method, so I'd have to run
it via the ToolRunner, but what is this tool? How should I proceed with

I'm really stuck here :(
Thanks in advance.

Rodrigo Zerbini
Computer Science student in University of São Paulo

View raw message