You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Yuesheng Hu (JIRA)" <ji...@apache.org> on 2012/09/05 09:51:08 UTC

[jira] [Commented] (HAMA-635) numberVertices value is inconsistent among tasks

    [ https://issues.apache.org/jira/browse/HAMA-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448558#comment-13448558 ] 

Yuesheng Hu commented on HAMA-635:
----------------------------------

Each task sends the number of vertices to others, then sum up the message to get a global numberVertices.
It will fix the problem. But this solution may be inefficient on large cluster.
                
> numberVertices value is inconsistent  among tasks
> -------------------------------------------------
>
>                 Key: HAMA-635
>                 URL: https://issues.apache.org/jira/browse/HAMA-635
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>    Affects Versions: 0.5.0
>            Reporter: Yuesheng Hu
>            Assignee: Yuesheng Hu
>              Labels: None
>             Fix For: 0.6.0
>
>
> numberVertices = vertices.size() * peer.getNumPeers()
> numberVertices is not consistent among tasks because not all task been assigned the same number of vertices.

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