Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1B1DE419 for ; Fri, 30 Nov 2012 16:47:37 +0000 (UTC) Received: (qmail 69890 invoked by uid 500); 30 Nov 2012 16:47:37 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 69777 invoked by uid 500); 30 Nov 2012 16:47:37 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 69702 invoked by uid 99); 30 Nov 2012 16:47:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 16:47:34 +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 thomas.jungblut@gmail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qc0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 16:47:29 +0000 Received: by mail-qc0-f175.google.com with SMTP id j3so355338qcs.34 for ; Fri, 30 Nov 2012 08:47:09 -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=7CKhz4zG0qjd239laNCq2iTgJhVBQfThqLYZF76yiek=; b=Xy2gFGv5AGRK2YmJokjkLAaKNf47YPMUMpTfpO1hCEcOowPn8GYpwk46GHitibg47Z JKVd8stL0WTTTAZ5qQwhCCMPKyRD7L5bRhJQzy+1HCjxPY/wHUANn2K8O0koKy0mKEYg T0EYg24BMlEJtGUsDdp/aJmhtsYGD0rUZjeV66+VWH9jo1zVecdzIYWspyeSzzWAGrei zD60aFkQdK+Ra9SzUS/gnmFFfzgV1bhtwzzE3M3iaT2tlkwE8m/JPt8uBzB53O+NrQ0K XF7OpxDR9FmRx4/OL1HrOW7GqDJfAj8TA23RUFGYDGPJSzBVHYKT4G0NwlpGVgvg+IU8 dXBQ== MIME-Version: 1.0 Received: by 10.224.193.2 with SMTP id ds2mr4067227qab.12.1354294029098; Fri, 30 Nov 2012 08:47:09 -0800 (PST) Received: by 10.49.1.2 with HTTP; Fri, 30 Nov 2012 08:47:09 -0800 (PST) In-Reply-To: References: Date: Fri, 30 Nov 2012 17:47:09 +0100 Message-ID: Subject: Re: Can hama monitor the num of alive nodes or num of tasks in last superstep? From: Thomas Jungblut To: dev@hama.apache.org Content-Type: multipart/alternative; boundary=20cf3005de80869e1804cfb926b0 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3005de80869e1804cfb926b0 Content-Type: text/plain; charset=ISO-8859-1 Wait a second, can you tell us what kind of API are you using? I assume you use the vertex API in the graph package right? 2012/11/30 Suraj Menon > Hi lee, > > I am assuming 'node' here implies BSP peer. > > You would have this feature once I get HAMA-652 ( > https://issues.apache.org/jira/browse/HAMA-652) working. For now you can > do > something similar to what is done is graph processing. > Keep sending a vote to halt(message) to every other peers, when you want to > halt, until in the next superstep you find that the number of votes == > number of peers. This is a limitation in the current implementation. We > need all the peers running together and peer.sync won't proceed until all > the peers enter and leave the synchronization barrier. Please check the > progress on HAMA-652, it should get fixed in near future. > > Thanks, > Suraj > > On Fri, Nov 30, 2012 at 11:05 AM, lee fei wrote: > > > Thank you for you help~ > > > > I need to know if there is any node active in last superstep to > > decide which the sub program should to process in the compute( ) > function. > > So if I can get the sum of alive nodes(not halted) in last superstep or > the > > sum of messages sent in last superstep, I can easily make the decision. > > > > Is there a way to do that? > > > > On Fri, Nov 30, 2012 at 8:30 PM, Edward wrote: > > > > > It should be always equal to launched tasks num. Instead, we can count > > > failure tasks num. Why do you need? > > > > > > Sent from my iPhone > > > > > > On Nov 30, 2012, at 6:29 PM, lee fei wrote: > > > > > > > Hi, > > > > > > > > Did hama have record the sum of alive nodes or sum of tasks in last > > > > superstep? Is there a way to get this kinds of values? > > > > > > > > Thank you for you attention:D > > > > > > --20cf3005de80869e1804cfb926b0--