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

Micah Huff commented on AVRO-882:
---------------------------------

[~scott_carey]--Is there any chance that this will be making it into the 1.7.5 
release? We're encountering the same issue now and it would be great to have a 
patch for this.

Thanks!
                
> 2nd read on end of file gives error
> -----------------------------------
>
>                 Key: AVRO-882
>                 URL: https://issues.apache.org/jira/browse/AVRO-882
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>            Reporter: Yang Yang
>            Priority: Minor
>         Attachments: a.diff
>
>
> if I read on a empty file with BinaryDecoder, I get EOF, good,
> but with the current code, if I read it again with the same decoder, I
> get a IndexOutofBoundException, not EOF.
> it seems that always giving EOF should be a more desirable behavior.
> I can see a bug in BinaryEncoder that causes this.
> more details in :
> http://mail-archives.apache.org/mod_mbox/avro-user/201108.mbox/%3ccaanh3_9_cqqbmt4vqyzg8-ikfo4nnlpcuzbbwd4kqoavpek...@mail.gmail.com%3E

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

Reply via email to