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

Ryan Blue commented on AVRO-1823:
---------------------------------

Thanks [~knoguchi]! I've committed this.

> 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)

Reply via email to