You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Yexi Jiang (JIRA)" <ji...@apache.org> on 2013/06/30 05:10:19 UTC
[jira] [Commented] (HAMA-771) Determining the count of active
vertices.
[ https://issues.apache.org/jira/browse/HAMA-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696250#comment-13696250 ]
Yexi Jiang commented on HAMA-771:
---------------------------------
Looks good. Based on my understanding of pregel style programming and SSSP algorithm.
> 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