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/29 02:23:19 UTC

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

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

             Summary: 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


{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