GitHub user bunadmitrii opened a pull request:

    https://github.com/apache/avro/pull/273

    Make InvalidAvroMagicException thrown if stream header is corrupted

    This seems reasonable to throw a subclass of IOException in case if we have 
an invalid header (empty file for example) so such errors can be handled in 
user code.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bunadmitrii/avro avro-magic-constant

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/avro/pull/273.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #273
    
----
commit 6a7d4d52623021215563d97ea386e0ad28b31848
Author: Bundin D <dbundin@...>
Date:   2017-12-25T12:30:17Z

    Make InvalidAvroMagicException thrown if stream header is corrupted

----


---

Reply via email to