You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Maja Kabiljo (JIRA)" <ji...@apache.org> on 2014/06/10 19:59:01 UTC

[jira] [Updated] (GIRAPH-915) With BigDataIO some messages can get ignored

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

Maja Kabiljo updated GIRAPH-915:
--------------------------------

    Attachment: GIRAPH-915.patch

Replacing available() method with method which checks whether we are at the end of input, since that's the only way in which we use it anyways. Tested on a job which had missing messages before and verified that it works now.

> With BigDataIO some messages can get ignored
> --------------------------------------------
>
>                 Key: GIRAPH-915
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-915
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-915.patch
>
>
> ExtendedDataInput has "int available()" method, and when iterating through messages we check if it's grater then zero. For BigDataIO we can get an overflow here, returning a negative values and ignoring the rest of messages.



--
This message was sent by Atlassian JIRA
(v6.2#6252)