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 EDB18D6F0 for ; Wed, 1 Aug 2012 05:17:27 +0000 (UTC) Received: (qmail 5592 invoked by uid 500); 1 Aug 2012 05:17:27 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 5392 invoked by uid 500); 1 Aug 2012 05:17:27 -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 5355 invoked by uid 99); 1 Aug 2012 05:17:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 05:17:25 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,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 doddaganesh1@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 05:17:19 +0000 Received: by qaeb19 with SMTP id b19so2411234qae.11 for ; Tue, 31 Jul 2012 22:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rU/mm56Bvq14gL+dlROotN+dDmJ7fNTYqq5+BnovU7A=; b=iV78rDy1iQ5dioRsY35QXhWGxfiqDarIJIlJGBZYHXiwANEKrSS8GOfr/1+s4JZivC H68OerZ1rHgXmgC6ESWSGFWgrRAxQkRYdwJtzG2o9y/CRB35KZAZE7nbF5njAUvey1bz PFJdDMBBEH3/DNXmXfNT2cxBzGenyG4fR+GggjUCXXEb3XNnzbj8c6oiVPZ99bD+FCcZ vrpHN9F9O0qtSZrCNOQElnztKSAt2WSUthmWHaHrDTelns5vTOPK6vxMd2ZUIN/8G5f3 ZOpa2Ucbdljh4/yzJ6j9YRccHHJ0e5SQF0+ov9gimUDwxqnP5y1oZd9XYrsLpqGnkJIr 8fKw== MIME-Version: 1.0 Received: by 10.224.195.199 with SMTP id ed7mr33944641qab.22.1343798218693; Tue, 31 Jul 2012 22:16:58 -0700 (PDT) Received: by 10.49.40.170 with HTTP; Tue, 31 Jul 2012 22:16:58 -0700 (PDT) Date: Wed, 1 Aug 2012 00:16:58 -0500 Message-ID: Subject: Help understanding Page Rank example. From: Dodda Ganesh To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=20cf300fb36b799d6b04c62d6797 X-Virus-Checked: Checked by ClamAV on apache.org --20cf300fb36b799d6b04c62d6797 Content-Type: text/plain; charset=ISO-8859-1 Hi Everyone, I am trying to understand the flow on control in giraph. I took the example of PageRank which was given with the code. However, I am really confused. if (!cmd.hasOption('c') || (Integer.parseInt(cmd.getOptionValue('c')) == 1)) { job.setVertexClass(PageRankBenchmark.class); } else { job.setVertexClass(HashMapVertexPageRankBenchmark.class); } Here, the file 'SimplePageRankVertex' is not used at all. Can someone please help me ? Ganesh --20cf300fb36b799d6b04c62d6797 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Everyone,

I am trying to understand the flow on contr= ol in giraph. I took the example of PageRank which was given with the code.= However, I am really confused.

=A0if (!cmd.h= asOption('c') ||
=A0 =A0 =A0 =A0 (Integer.parseInt(cmd.getOptionValue('c')) =3D= =3D 1)) {
=A0 =A0 =A0 job.setVertexClass(PageRankBenchmark.class)= ;
=A0 =A0 } else {
=A0 =A0 =A0 job.setVertexClass(HashM= apVertexPageRankBenchmark.class);
=A0 =A0 }

Here, the file 'SimplePag= eRankVertex' is not used at all. Can someone please help me ?

Ganesh
--20cf300fb36b799d6b04c62d6797--