You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Claudio Martella (Updated) (JIRA)" <ji...@apache.org> on 2011/11/25 05:50:40 UTC

[jira] [Updated] (GIRAPH-90) LongDoubleFloatDoubleVertex has possibily the iterator() implementation broken

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

Claudio Martella updated GIRAPH-90:
-----------------------------------

    Attachment: GIRAPH-90.diff

2-liners, removes caching.
                
> LongDoubleFloatDoubleVertex has possibily the iterator() implementation broken
> ------------------------------------------------------------------------------
>
>                 Key: GIRAPH-90
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-90
>             Project: Giraph
>          Issue Type: Bug
>          Components: graph
>    Affects Versions: 0.70.0
>            Reporter: Claudio Martella
>            Assignee: Claudio Martella
>             Fix For: 0.70.0
>
>         Attachments: GIRAPH-90.diff
>
>
> iterator() implementation returns LongWritable which is cached in a final variable and set() with the new value at next(). This could be misleading as the user might create a list from the iterator's data. Something similar is happening in the getMsgList() as well.
> Is this really what we want?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira