You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2013/06/30 09:27:19 UTC

[jira] [Resolved] (HAMA-771) Determining the count of active vertices.

     [ 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