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] [Commented] (HAMA-745) ListVerticesInfo doesn't work
Date Fri, 17 May 2013 11:31:16 GMT

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

Edward J. Yoon commented on HAMA-745:
-------------------------------------

GraphJobRunner processes vertices sequentially. It means that vertices must be sorted. See
http://svn.apache.org/repos/asf/hama/trunk/graph/src/main/java/org/apache/hama/graph/ListVerticesInfo.java
and Collection.sort(vertices);

To enabling to use DiskVerticesInfo, vertices should already be sorted by vertex ID, before
adding to DiskVerticesInfo.
                
> ListVerticesInfo doesn't work
> -----------------------------
>
>                 Key: HAMA-745
>                 URL: https://issues.apache.org/jira/browse/HAMA-745
>             Project: Hama
>          Issue Type: Bug
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.6.1
>
>         Attachments: HAMA-745.patch, HAMA-745_v02.patch
>
>
> Just tried to use ListVerticesInfo instead of DiskVerticesInfo but doesn't work correctly.
The reason is that addVertex() changes the same object. It need to reinitializing vertex object.

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