Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DF10973B for ; Thu, 27 Sep 2012 20:12:41 +0000 (UTC) Received: (qmail 54953 invoked by uid 500); 27 Sep 2012 20:12:40 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 54903 invoked by uid 500); 27 Sep 2012 20:12:40 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 54893 invoked by uid 99); 27 Sep 2012 20:12:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 20:12:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rodrigo.zerbini@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bk0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 20:12:34 +0000 Received: by bkwj10 with SMTP id j10so2237333bkw.11 for ; Thu, 27 Sep 2012 13:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6fckYJfbnbljw6NsSSY6fgJ2Lv5UVRUiFxd5UFt4sHU=; b=DegqVA5m4lKcz1Met/1a9OES1S1PZ19WcANXHawf26Fie1sZv5/R5SdiGffc3Z31iy K0Nm3nHwz4sLw7ioSMx48V7yYeW2XrGxaHe9gBnztpcmSA6z0rjfSd0JCQatc4lhHXDl OdsU/V8TihiLlxzgqhYS0QJ30qjl2wY3V7cmaeJdaV5AqSMVaxnTjwMbdrIHP9DnkpPk Nj9sM7oLMLipKMFhOjHXzIeSKYdSwYE+YBKTL632ccqgfA3pGuo31XT2+tF67eBnqXrM bkxCQIE38iQBLq0XmSfVg8o45u/2bR7KQ+r1lLWJiHDjykaHTeZkrKxm2PszdqacXgxq 2arA== MIME-Version: 1.0 Received: by 10.112.44.167 with SMTP id f7mr1978224lbm.34.1348776732403; Thu, 27 Sep 2012 13:12:12 -0700 (PDT) Received: by 10.112.81.234 with HTTP; Thu, 27 Sep 2012 13:12:12 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Sep 2012 17:12:12 -0300 Message-ID: Subject: Re: Newbie problem - I can't run the Shortest Paths Example From: rodrigo zerbini To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=bcaec55242940426c504cab48e2f X-Virus-Checked: Checked by ClamAV on apache.org --bcaec55242940426c504cab48e2f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You're right, Eli. However, it didn't work: hadoop jar hadoop jar giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.examples.SimpleShortestPathsVertex shortestPathsInputGraph shortestPathsOutputGraph 0 3 Exception in thread "main" java.io.IOException: Error opening job jar: hadoop at org.apache.hadoop.util.RunJar.main(RunJar.java:90) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:127) at java.util.jar.JarFile.(JarFile.java:135) at java.util.jar.JarFile.(JarFile.java:72) at org.apache.hadoop.util.RunJar.main(RunJar.java:88) Do you know how could I fix this error in opening zip file? 2012/9/26 Eli Reisman > You need to include the Giraph jar in your command line rather than the > Hadoop jar? > > > > On Wed, Sep 26, 2012 at 12:01 PM, rodrigo zerbini < > rodrigo.zerbini@gmail.com> wrote: > >> Hello everybody. >> >> My name is Rodrigo and I'm just starting a scientific initiation on grap= h >> processing systems. I'm trying to run the Shortest Paths Example [ >> https://cwiki.apache.org/confluence/display/GIRAPH/Shortest+Paths+Exampl= e] >> taking the following steps in terminal: >> >> hadoop namenode -format >> start-all.sh >> hadoop-0.20.203.0-jar-with-dependencies.jar >> org.apache.giraph.examples.SimpleShortestPathsVertex >> shortestPathsInputGraph shortestPathsOutputGraph 0 3 >> >> So I got this: >> >> Exception in thread "main" java.io.IOException: Error opening job jar: >> giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar >> at org.apache.hadoop.util.RunJar.main(RunJar.java:90) >> Caused by: java.util.zip.ZipException: error in opening zip file >> at java.util.zip.ZipFile.open(Native Method) >> at java.util.zip.ZipFile.(ZipFile.java:127) >> at java.util.jar.JarFile.(JarFile.java:135) >> at java.util.jar.JarFile.(JarFile.java:72) >> at org.apache.hadoop.util.RunJar.main(RunJar.java:88) >> >> Alternatively, I tried to run making this: >> >> hadoop-0.20.203.0-jar-with-dependencies.jar >> 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 >> this? >> >> I'm really stuck here :( >> Thanks in advance. >> >> Rodrigo Zerbini >> Computer Science student in University of S=E3o Paulo >> >> > --bcaec55242940426c504cab48e2f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You're right, Eli. However, it didn't work:

hadoop jar hadoo= p jar giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar o= rg.apache.giraph.examples.SimpleShortestPathsVertex shortestPathsInputGraph= shortestPathsOutputGraph 0 3

Exception in thread "main" java.io.IOException: Error opening= job jar: hadoop
=A0=A0=A0 at org.apache.hadoop.util.RunJar.main(RunJar.= java:90)
Caused by: java.util.zip.ZipException: error in opening zip fil= e
=A0=A0=A0 at java.util.zip.ZipFile.open(Native Method)
=A0=A0=A0 at java= .util.zip.ZipFile.<init>(ZipFile.java:127)
=A0=A0=A0 at java.util.= jar.JarFile.<init>(JarFile.java:135)
=A0=A0=A0 at java.util.jar.Ja= rFile.<init>(JarFile.java:72)
=A0=A0=A0 at org.apache.hadoop.util.RunJar.main(RunJar.java:88)

Do y= ou know how could I fix this error in opening zip file?


2012/9/26 Eli Reisman <apache.mailbox@gmail.com<= /a>>
You need to include the Giraph jar in your c= ommand line rather than the Hadoop jar?



On Wed, Sep 26, 2012 at 12:01 PM, ro= drigo zerbini <rodrigo.zerbini@gmail.com> wrote:
Hello everyb= ody.

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 [https://cwiki.apac= he.org/confluence/display/GIRAPH/Shortest+Paths+Example] taking the fol= lowing steps in terminal:

hadoop namenode -format
start-all.sh
hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.examples.Si= mpleShortestPathsVertex shortestPathsInputGraph shortestPathsOutputGraph 0 = 3

So I got this:=A0

Exception in= thread "main" java.io.IOException: Error opening job jar: giraph= -0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar
at org.apache.hadoop.util.RunJ= ar.main(RunJar.java:90)
Caused by: java.util.zip.ZipException: error in opening zip file
=
at java.util.zip.ZipFile.= open(Native Method)
= at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.= <init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:72)
at org.apache.hadoop.util= .RunJar.main(RunJar.java:88)

Alternatively, I trie= d to run making this:

hadoop-0.20.203.0-jar-with-d= ependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.S= impleShortestPathsVertex -if org.apache.giraph.lib.JsonBase64VertexInputFor= mat -ip shortestPathsInputGraph -of org.apache.giraph.lib.JsonBase64VertexO= utputFormat -op shortestPathsOutputGraph -w 3

But I got the same error above.=A0

=
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 SimpleSh= ortestPathsVertex 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 this?<= /div>

I'm really stuck here :(
Thanks in advanc= e.
Rodrigo Zerbini
Computer Science student in Universi= ty of S=E3o Paulo



--bcaec55242940426c504cab48e2f--