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 BF5E210845 for ; Thu, 7 Nov 2013 14:57:42 +0000 (UTC) Received: (qmail 4223 invoked by uid 500); 7 Nov 2013 14:57:19 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 4165 invoked by uid 500); 7 Nov 2013 14:57:12 -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 4137 invoked by uid 99); 7 Nov 2013 14:57:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 14:57:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of liuyuxi.dlut@gmail.com designates 209.85.192.179 as permitted sender) Received: from [209.85.192.179] (HELO mail-pd0-f179.google.com) (209.85.192.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 14:56:52 +0000 Received: by mail-pd0-f179.google.com with SMTP id y10so697833pdj.24 for ; Thu, 07 Nov 2013 06:56:31 -0800 (PST) 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=cwBj7ocMFawLwbL2FHFd1w6+oDzeLhwnkE2OJP7z50s=; b=r4PXfynWCWQNnXOp/D5D6SB3VB7YLqmvFwnZrNL5FccX7N454i+1KzW/pAfJSoDfpP ctvbuoWBOG7cpbcD6txVANZglVxxqAiWtZUDogcQZN/uUjNS9zgn+A+QnWt3nN/HhDwv Lgqcdt9/SPzdweFSPnVDWjbs9TdSS7igRwoQT7uSyjFjDNI5rgoZo3YmxRVjdtIAKt2C HDw+v1q+CHJ9g2dG0eZNeRtYeBgwdTve5suvgCeTmQMpy3ry90UV587ctH/R/2ZNpCnT g+LkFsDYoSMG8g0bP6P3QmsdN1uX8MqhH4J05E347h1CuHwJAILOIJPYtsiE75ZPjc73 wvuA== MIME-Version: 1.0 X-Received: by 10.66.11.202 with SMTP id s10mr10236566pab.86.1383836191257; Thu, 07 Nov 2013 06:56:31 -0800 (PST) Received: by 10.70.54.8 with HTTP; Thu, 7 Nov 2013 06:56:31 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Nov 2013 22:56:31 +0800 Message-ID: Subject: Fwd: a question about using giraph From: Freeman Liu To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=bcaec520f3059b7b8d04ea977847 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec520f3059b7b8d04ea977847 Content-Type: text/plain; charset=ISO-8859-1 Hello Everyone, I have a question about Giraph: I could run all the example programs. I want to place my development code in a different directory other than the giraph directory. I copied the SimplePageRankComputation.java to a different directory, compiled it(with a different package name). But I couldn't replace the "org.apache.giraph.examples.SimpleShortestPathsComputation" with my class file. It gives me a ClassNotFoundException. I followed the guide below: export HADOOP_CLASSPATH="giraph.jar:your.jar" hadoop jar giraph.jar org.apache.giraph.GiraphRunner [ -D option ]* -libjars your.jar your.package.ComputationClass [ GiraphRunner option e.g. -vip -vif etc. ]* But still *it gives me a ClassNotFoundException. * Could someone give me some help?? -- Sincerely, Freeman Liu --bcaec520f3059b7b8d04ea977847 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


Hello=A0Everyone,

I have a question about Giraph:

I could run all=
 the example programs. I want to place my development code in a different d=
irectory other than the giraph directory. I copied the SimplePageRankComput=
ation.java to a different directory, compiled it(with a different package n=
ame). But I couldn't replace the "org.apache.giraph.examples.Simpl=
eShortestPathsComputation" with my class file. It gives me a ClassNotF=
oundException. 
I followed the guide below:
export HADOOP_CLASSPATH=3D"giraph.jar:your.jar"
hadoop jar giraph.jar org.apache.giraph.GiraphRunner [ -D option ]*
-libjars your.jar your.package.ComputationClass [ GiraphRunner option e.g.
-vip -vif etc. ]*

But still it gives me a ClassNotFou=
ndException. 

Could someone give me some help??
<= font color=3D"#888888">

--
Sincerely,

Freeman Liu


--bcaec520f3059b7b8d04ea977847--