You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2018/11/19 04:12:00 UTC

[jira] [Resolved] (AVRO-2178) avro C++ api support of tail reading of a growing avro file

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

Thiruvalluvan M. G. resolved AVRO-2178.
---------------------------------------
    Resolution: Not A Problem

Since there is no way to detect if a file is being written into, distinguishing temporary EOF from real one on it is impossible. This use case cannot be resolved. The suggested method of using Unix FIFO files will work.

> avro C++ api support of tail reading of a growing avro file
> -----------------------------------------------------------
>
>                 Key: AVRO-2178
>                 URL: https://issues.apache.org/jira/browse/AVRO-2178
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: c++
>    Affects Versions: 1.8.2
>            Reporter: peien
>            Priority: Major
>
> Two processes, one is writing to an avro data file, another wishes to read the latest written data.
> The problem with current C++ API is that when it reaches the EOF, an exception will be thrown, and from the user perspective, I have no way to retry or 'tail read' it again from the last good position.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)