You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/08 17:29:01 UTC

[jira] [Commented] (AVRO-2127) Throwing more specific exception if an avro file has currupted magic

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

ASF subversion and git services commented on AVRO-2127:
-------------------------------------------------------

Commit c6f772b408046c61b3269d8aecc5f1684bcad6fb in avro's branch refs/heads/master from Vladislav
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=c6f772b ]

AVRO-2127: throw more specific exceptions from DataFileStream#initialize (#323)

* AVRO-2127: throw more specific exceptions from DataFileStream#initialize

* AVRO-2127: throw more specific exceptions from DataFileReader12


> Throwing more specific exception if an avro file has currupted magic
> --------------------------------------------------------------------
>
>                 Key: AVRO-2127
>                 URL: https://issues.apache.org/jira/browse/AVRO-2127
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.8.2
>            Reporter: Dmitrii Bundin
>            Assignee: Dmitrii Bundin
>            Priority: Minor
>
> Curently we have IOException thrown if an avro file has incorrect magic. 
> It seems reasonable to throw a subclass of IOException to be able to handle incorrect magic (in case length are match) in user code.



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