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

Maja Kabiljo commented on GIRAPH-915:
-------------------------------------

But available can't be implemented correctly in BigDataIO. I could throw an 
exception there if it sounds better. And available() is not going to be used 
anywhere. What do you think?

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

Reply via email to