hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-771) Determining the count of active vertices.
Date Sat, 29 Jun 2013 00:41:20 GMT

     [ https://issues.apache.org/jira/browse/HAMA-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HAMA-771:
--------------------------------

    Attachment: HAMA-771.patch

Attach my patch.

I think this is somewhat critical logical bug. I'll commit this by lazy consensus if no-one
objects within the next three days.
                
> 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