[
https://issues.apache.org/jira/browse/AVRO-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244409#comment-15244409
]
ASF subversion and git services commented on AVRO-1823:
-------------------------------------------------------
Commit f4f226378918cce8a722d9795f3df4a6c7219746 in avro's branch
refs/heads/master from [~rdblue]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=f4f2263 ]
AVRO-1823: Java: Do not swallow IOException while reading magic bytes.
Contributed by Koji Noguchi.
> 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
> Fix For: 1.8.1
>
> 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)