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 13B4B107A1 for ; Wed, 26 Feb 2014 20:09:51 +0000 (UTC) Received: (qmail 40848 invoked by uid 500); 26 Feb 2014 20:09:41 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 40297 invoked by uid 500); 26 Feb 2014 20:09:29 -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 40209 invoked by uid 99); 26 Feb 2014 20:09:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 20:09:28 +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 (athena.apache.org: domain of suijian.zhou@gmail.com designates 209.85.216.67 as permitted sender) Received: from [209.85.216.67] (HELO mail-qa0-f67.google.com) (209.85.216.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 20:09:22 +0000 Received: by mail-qa0-f67.google.com with SMTP id j7so969965qaq.6 for ; Wed, 26 Feb 2014 12:09:02 -0800 (PST) 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=BLLzkmY/gNmi4cUkWULbgWr3uVNGsW0lR8wM61mrz3E=; b=FIuBdDtHzTkhErtfb3r1iW5bwNySP3XKqk1qnlqDa4w5IrhUoqbqUa4Zmcjzx5ZJAG /+xayfKq/BBKyFzGZP/0xNnyOS3r1+esMiCdPqWgUTIDe8+rKnRAKOzX2sVaS4YOSWBS u3XdiHpD1aj0tnf7Xv5OtAdAYTVdGwKz5ql7M8SuHTznItDd5AI4JRiTU68XcoJBAGae Z1sdFyxyQzse5yMYpiJX4bdEcWSF6V13I7vLSq0j2VciAD1SeWy9uea18Ndvsn7JFy+C qiyL9coBEzZ9V/cy/xcTX/jy77GGKAfN6J400cwcqxBcfuznOXaDoT0rtVzQF2WZkO8d kRsQ== MIME-Version: 1.0 X-Received: by 10.140.29.139 with SMTP id b11mr2097143qgb.48.1393445342021; Wed, 26 Feb 2014 12:09:02 -0800 (PST) Received: by 10.96.93.65 with HTTP; Wed, 26 Feb 2014 12:09:01 -0800 (PST) Date: Wed, 26 Feb 2014 14:09:01 -0600 Message-ID: Subject: pagerank in giraph. From: Suijian Zhou To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=001a113a76caa028f604f354c6f9 X-Virus-Checked: Checked by ClamAV on apache.org --001a113a76caa028f604f354c6f9 Content-Type: text/plain; charset=ISO-8859-1 Hi, To load and compute the pagerank of the following graph format(common in social network graphs): Src_vertex_id_1 Dest_vertex_id_2 Dest_vertex_id_3 (v1->v2, v1->v3) Src_vertex_id_2 Dest_vertex_id_4 Dest_vertex_id_5 Dest_vertex_id_6 (v2->v4, v2->v5, v2->v6) ..... Should I have to convert the above input format into the following so as to be compatible with giraph? [Src_vertex1_id_1, 1, [[Dest_vertex_id_2,0],[Dest_vertex_id_3,0]]] [Src_vertex1_id_2, 1, [[Dest_vertex_id_4,0],[Dest_vertex_id_5,0],[Dest_vertex_id_6,0]]] ...... I.e, to set initial vertex values to 1 and edge values to 0? Thanks! Best Regards, Suijian --001a113a76caa028f604f354c6f9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=A0 To load and= compute the pagerank of the following graph format(common in social networ= k graphs):

Src_vertex_id_1 Dest_vertex_id_2 Dest_vertex_id_3 (= v1->v2, v1->v3)
Src_vertex_id_2 Dest_vertex_id_4 Dest_vertex_id_5 Dest_vertex_id_6 (v2->= v4, v2->v5, v2->v6)
.....

Should I have to convert th= e above input format into the following so as to be compatible with giraph?=

[Src_vertex1_id_1, 1, [[Dest_vertex_id_2,0],[Dest_vertex_id_3,0]]]
[= Src_vertex1_id_2, 1, [[Dest_vertex_id_4,0],[Dest_vertex_id_5,0],[Dest_verte= x_id_6,0]]]
......

I.e, to set initial vertex values to 1 a= nd edge values to 0? Thanks!

=A0 Best Regards,
=A0 Suijian
--001a113a76caa028f604f354c6f9--