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 2C69510921 for ; Sat, 4 Jan 2014 14:28:04 +0000 (UTC) Received: (qmail 58077 invoked by uid 500); 4 Jan 2014 14:27:47 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 57872 invoked by uid 500); 4 Jan 2014 14:27:32 -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 57850 invoked by uid 99); 4 Jan 2014 14:27:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jan 2014 14:27:30 +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 peter.grman@gmail.com designates 209.85.217.178 as permitted sender) Received: from [209.85.217.178] (HELO mail-lb0-f178.google.com) (209.85.217.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jan 2014 14:27:23 +0000 Received: by mail-lb0-f178.google.com with SMTP id c11so8641718lbj.23 for ; Sat, 04 Jan 2014 06:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=741H2sfqz9jLCekmi2QPeClvl727196H5Osn3/bsVZ0=; b=o1VSUUje/OrOaoCQBnK28iZu4QMlC4a076p3TgX5aXQ83rzhe622wXTC3wUaSqqrEu is4+LaRIumLFs0Ybggi3pF/4rE0zsaLVYMWJWMm+cI8ICIlOeyidzSsHR2uoME5d/0bR 2tibgj5yegk9X6qKipp2EzP2CJK4PSdjPnjTHBH+/DKCEbk+xB57DC2pJk1h2w2bJj4H gwpEammebNvA//OAifVqt4JIBynRRwXMrDL7VvCyoBGvqvFtMOaqNX73keChNjasXVZq P1r9cat5aeL4Ntgxj6QxpM4WewFJOqiYUtOHGuEwNyDtG57JuZgKZjgsNuuYt2n6Vql8 4y1g== X-Received: by 10.152.120.135 with SMTP id lc7mr835614lab.38.1388845623166; Sat, 04 Jan 2014 06:27:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.137.2 with HTTP; Sat, 4 Jan 2014 06:26:43 -0800 (PST) In-Reply-To: References: From: Peter Grman Date: Sat, 4 Jan 2014 15:26:43 +0100 Message-ID: Subject: Re: Running an algo for selected no of vertices.. To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=089e012281ac044a6804ef25d2d8 X-Virus-Checked: Checked by ClamAV on apache.org --089e012281ac044a6804ef25d2d8 Content-Type: text/plain; charset=ISO-8859-1 Yes, you know which vertex you are and in which step you are, so if you implement it correctly you can run during the first superstep some computations on vertex(2) and in the second superstep on vertex(5) You could simply ignore your compute function in the first superstep on all vertices except vertex2 and in the end send out messages to those vertices which should continue with the computation. You could also run your compute function on only one vertex in each superstep, but then I'm not quite sure why you would want to use giraph. cheers Peter On Sat, Jan 4, 2014 at 3:04 PM, Jyoti Yadav wrote: > Hi folks.. > I am trying to implement some graph algorithm .I want compute function to > run for some selected number of vertices. > For eg. > first compute function run for vertex id=2,when its work is completed,then > i want to run compute function for vertex id =5. > > Is it possible in giraph??? > > Any ideas?? > With Regards > Jyoti > --089e012281ac044a6804ef25d2d8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, you know which vertex you are and in which step = you are, so if you implement it correctly you can run during the first supe= rstep some computations on vertex(2) and in the second superstep on vertex(= 5)

You could simply ignore your compute function in the first s= uperstep on all vertices except vertex2 and in the end send out messages to= those vertices which should continue with the computation. You could also = run your compute function on only one vertex in each superstep, but then I&= #39;m not quite sure why you would want to use giraph.

cheers
Peter


On Sat, Jan 4, 2014 at 3:04 PM, Jyoti Ya= dav <rao.jyoti26yadav@gmail.com> wrote:
Hi folks..
I a= m trying to implement some graph algorithm .I want compute function to run = for some selected number of vertices.
For eg.
first compu= te function run for vertex id=3D2,when its work is completed,then i want to= run compute function for vertex id =3D5.

Is it possible in giraph???

Any ideas??
Wit= h Regards
<= /div>Jyoti
=

--089e012281ac044a6804ef25d2d8--