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 1E0FC106E8 for ; Fri, 25 Oct 2013 15:56:46 +0000 (UTC) Received: (qmail 694 invoked by uid 500); 25 Oct 2013 15:56:45 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 653 invoked by uid 500); 25 Oct 2013 15:56:44 -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 642 invoked by uid 99); 25 Oct 2013 15:56:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 15:56:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rao.jyoti26yadav@gmail.com designates 74.125.82.181 as permitted sender) Received: from [74.125.82.181] (HELO mail-we0-f181.google.com) (74.125.82.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 15:56:36 +0000 Received: by mail-we0-f181.google.com with SMTP id t60so3913950wes.26 for ; Fri, 25 Oct 2013 08:56:16 -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=dPoQQLhiCoqgch3V3W3kf5mfJnMex1vE5AYxWtFpW1o=; b=dZDAa2pXXmXJRaLUcmOIDpGj3Fx9XkaHrhcvu5YgSdEvZnQZi68ll6dk0z+09KN5xd 0+nSjd7Va2AUjNicxJewkxoCzhII65zSV+bS5b/W/Kgps11jE6ZAo5kLhSCSk2s7LDqr rvmW2Cpas564A4Fa5DIoJqnyYlQTntZ0ZZICY8/UquDaCQtOda5pDsaFB4iYbJ4uwDO0 Yu9S/SxBOfvEQe2/vwruLnx797Pq6le0wZZRKwXLl53yzs9UJwAGhIS9/tbxZ9NCTF/o c4f5bx0hxs+lpEfQnljHkZjBngv+iNYTt7+JYch7HUiTskBYR51riKAVrjSjK7UQIPgo ShCA== MIME-Version: 1.0 X-Received: by 10.180.182.82 with SMTP id ec18mr3126767wic.13.1382716576144; Fri, 25 Oct 2013 08:56:16 -0700 (PDT) Received: by 10.194.234.33 with HTTP; Fri, 25 Oct 2013 08:56:16 -0700 (PDT) In-Reply-To: References: <52665B66.1030400@csd.auth.gr> Date: Fri, 25 Oct 2013 21:26:16 +0530 Message-ID: Subject: Re: Problem running single source shortest path example in cluster From: Jyoti Yadav To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=047d7b6250b858a3c504e992ca33 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6250b858a3c504e992ca33 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi.. Thanks for your suggestions. I tried -vof option and it worked.. On Fri, Oct 25, 2013 at 8:19 PM, Andro Berm=C3=BAdez Serrano < andro.bermudez@gmail.com> wrote: > Build Giraph with the options: -Phadoop_1.0 -Dhadoop.version=3D1.2.1. > This specifies hadoop version and uses the profile of Giraph for hadoop 1= .x > > 2013/10/22, =CE=97=CE=BB=CE=AF=CE=B1=CF=82 =CE=9A=CE=B1=CF=80=CE=BF=CF=85= =CF=81=CE=AC=CE=BD=CE=B7=CF=82 : > > Hey Jyoti, > > > > regarding the -of option, change it to -vof which corresponds to > > "vertex output format". > > > > Ilias > > > > =CE=A3=CF=84=CE=B9=CF=82 22/10/2013 1:35 =CE=BC=CE=BC, =CE=BF/=CE=B7 Jy= oti Yadav =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > >> Hi.. > >> I tried to run shortest path algo in cluster.. I follow giraph quick > >> start documentation to execute the algo.. > >> > >> > >> One thing I need to mention, on my cluster hadoop version is 1.2.1 > >> and giraph version is 1.1.0.. but when I build the giraph the jar > >> file which is create is named as > >> > >> > $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-_*= hadoop-0.20.203.0*_-jar-with-dependencies.jar > >> > >> > >> > >> Is it possible that in jar file name, hadoop version is different > >> from the version which is installed on my machine.?? > >> > >> > >> I typed following command > >> > >> > >> > >> > >> $HADOOP_HOME/bin/hadoop jar > >> > $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-ha= doop-0.20.203.0-jar-with-dependencies.jar > >> > >> org.apache.giraph.GiraphRunner > >> org.apache.giraph.examples.SimpleShortestPathsComputation -vif > >> org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputForma= t > >> -vip > >> /user/hduser/graph_input/graph.txt -of > >> org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op > >> /user/hduser/graph_output/shortestpaths -w 1 > >> > >> > >> I got tException in thread "main" > >> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized > >> option: -of > >> at org.apache.commons.cli.Parser.processOption(Parser.java:363) > >> at org.apache.commons.cli.Parser.parse(Parser.java:199) > >> at org.apache.commons.cli.Parser.parse(Parser.java:85) > >> at > >> > org.apache.giraph.utils.ConfigurationUtils.parseArgs(ConfigurationUtils.j= ava:189) > >> at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:74) > >> 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:124) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > >> at > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:597) > >> at org.apache.hadoop.util.RunJar.main(RunJar.java:160) > >> he following errror... > >> > >> > >> > >> > >> Any ideas?? > >> > >> Regards > >> Jyoti > >> > >> > >> > >> > >> > >> > > > > > --047d7b6250b858a3c504e992ca33 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi..
Thanks for your suggestions. I tried -v= of option and it worked..


On Fri, Oct 25, 2013 at 8:19 PM, Andro Berm=C3=BAdez = Serrano <andro.bermudez@gmail.com> wrote:
Build Giraph with the options: -Phadoop_1.0 = -Dhadoop.version=3D1.2.1.
This specifies hadoop version and uses the profile of Giraph for hadoop 1.x=

2013/10/22, =CE=97=CE=BB=CE=AF=CE=B1=CF=82 =CE=9A=CE=B1=CF=80=CE=BF=CF=85= =CF=81=CE=AC=CE=BD=CE=B7=CF=82 <= ikapoura@csd.auth.gr>:
> Hey Jyoti,
>
> regarding the -of option, change it to -vof =C2=A0which corresponds to=
> "vertex output format".
>
> Ilias
>
> =CE=A3=CF=84=CE=B9=CF=82 22/10/2013 1:35 =CE=BC=CE=BC, =CE=BF/=CE=B7 J= yoti Yadav =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:
>> Hi..
>> I tried to run shortest path algo in cluster.. I follow giraph qui= ck
>> start documentation =C2=A0to execute the algo..
>>
>>
>> =C2=A0One thing I need to mention, on my cluster hadoop version is= 1.2.1
>> and giraph version is 1.1.0.. but when I build the giraph =C2=A0th= e jar
>> file which is create is named as
>>
>> $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SN= APSHOT-for-_*hadoop-0.20.203.0*_-jar-with-dependencies.jar
>>
>>
>>
>> =C2=A0Is it possible that in jar file name, =C2=A0hadoop version i= s different
>> from the version which is installed on my machine.??
>>
>>
>> =C2=A0 I typed following command
>>
>>
>>
>>
>> $HADOOP_HOME/bin/hadoop jar
>> $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT= -for-hadoop-0.20.203.0-jar-with-dependencies.jar
>>
>> org.apache.giraph.GiraphRunner
>> org.apache.giraph.examples.SimpleShortestPathsComputation -vif
>> org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputF= ormat
>> -vip
>> /user/hduser/graph_input/graph.txt =C2=A0-of
>> org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op
>> /user/hduser/graph_output/shortestpaths -w 1
>>
>>
>> =C2=A0I got tException in thread "main"
>> org.apache.commons.cli.UnrecognizedOptionException: Unrecognized >> option: -of
>> =C2=A0 =C2=A0 at org.apache.commons.cli.Parser.processOption(Parse= r.java:363)
>> =C2=A0 =C2=A0 at org.apache.commons.cli.Parser.parse(Parser.java:1= 99)
>> =C2=A0 =C2=A0 at org.apache.commons.cli.Parser.parse(Parser.java:8= 5)
>> =C2=A0 =C2=A0 at
>> org.apache.giraph.utils.ConfigurationUtils.parseArgs(Configuration= Utils.java:189)
>> =C2=A0 =C2=A0 at org.apache.giraph.GiraphRunner.run(GiraphRunner.j= ava:74)
>> =C2=A0 =C2=A0 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.= java:65)
>> =C2=A0 =C2=A0 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.= java:79)
>> =C2=A0 =C2=A0 at org.apache.giraph.GiraphRunner.main(GiraphRunner.= java:124)
>> =C2=A0 =C2=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati= ve Method)
>> =C2=A0 =C2=A0 at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm= pl.java:39)
>> =C2=A0 =C2=A0 at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc= cessorImpl.java:25)
>> =C2=A0 =C2=A0 at java.lang.reflect.Method.invoke(Method.java:597)<= br> >> =C2=A0 =C2=A0 at org.apache.hadoop.util.RunJar.main(RunJar.java:16= 0)
>> he following errror...
>>
>>
>>
>>
>> Any ideas??
>>
>> Regards
>> Jyoti
>>
>>
>>
>>
>>
>>
>
>

--047d7b6250b858a3c504e992ca33--