[
https://issues.apache.org/jira/browse/AVRO-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228823#comment-15228823
]
Aaron Dossett commented on AVRO-1823:
-------------------------------------
There are certainly times I would have found this helpful.
> DataFileStream to include the exception when reading of the magic fail
> ----------------------------------------------------------------------
>
> Key: AVRO-1823
> URL: https://issues.apache.org/jira/browse/AVRO-1823
> Project: Avro
> Issue Type: Improvement
> Reporter: Koji Noguchi
> Priority: Trivial
> Attachments: avro-1823-v01.patch
>
>
> When reading the Avro file failed with
> {noformat}
> Caused by: java.io.IOException: Not a data file.
> at
> org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:102)
> {noformat}
> it made the debugging a bit hard since the exception causing it was swallowed
> and not shown to the user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)