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 682411087D for ; Sun, 30 Jun 2013 07:27:25 +0000 (UTC) Received: (qmail 23289 invoked by uid 500); 30 Jun 2013 07:27:25 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 23167 invoked by uid 500); 30 Jun 2013 07:27:21 -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 23147 invoked by uid 99); 30 Jun 2013 07:27:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2013 07:27:20 +0000 Date: Sun, 30 Jun 2013 07:27:19 +0000 (UTC) From: "Edward J. Yoon (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HAMA-771) Determining the count of active vertices. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon resolved HAMA-771. --------------------------------- Resolution: Fixed I've just committed this! > Determining the count of active vertices. > ----------------------------------------- > > Key: HAMA-771 > URL: https://issues.apache.org/jira/browse/HAMA-771 > Project: Hama > Issue Type: Bug > Affects Versions: 0.6.2 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Priority: Critical > Fix For: 0.6.3 > > Attachments: HAMA-771.patch > > > {code} > // check for halt again after computation > if (!vertex.isHalted()) { > activeVertices++; > } > .... > aggregationRunner.sendAggregatorValues(peer, activeVertices); > {code} > To actually determine the count of active vertices of each superstep, it's necessary to count the number of activated vertices. So, it should not check isHalted() twice. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira