hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yexi Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-771) Determining the count of active vertices.
Date Sun, 30 Jun 2013 03:10:19 GMT

    [ 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

Mime
View raw message