You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Mika Ristimaki (JIRA)" <ji...@apache.org> on 2013/11/23 00:07:36 UTC
[jira] [Updated] (AVRO-1405) Avro-c may not handle eof correctly if
avro data file contains multiple sync markers
[ https://issues.apache.org/jira/browse/AVRO-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mika Ristimaki updated AVRO-1405:
---------------------------------
Attachment: AVRO-1405.patch
Here's a patch to fix the issue. Please review the change.
> Avro-c may not handle eof correctly if avro data file contains multiple sync markers
> ------------------------------------------------------------------------------------
>
> Key: AVRO-1405
> URL: https://issues.apache.org/jira/browse/AVRO-1405
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.7.5
> Reporter: Mika Ristimaki
> Priority: Minor
> Attachments: AVRO-1405.patch
>
>
> I encountered a bug in the Avro C API. If the following is done, it seems that the Avro data file reader can not read the file correctly
> while (has values to write) {
> Open file for writing
> Write a value to the file
> Close the writer.
> }
> Reading this file with Avro data file reader fail to EOF after the first item has been read from the file.
--
This message was sent by Atlassian JIRA
(v6.1#6144)