Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1823

DataFileStream to include the exception when reading of the magic fail

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.8.1
    • None
    • None

    Description

      When reading the Avro file failed with

      Caused by: java.io.IOException: Not a data file.
      	at org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:102)
      

      it made the debugging a bit hard since the exception causing it was swallowed and not shown to the user.

      Attachments

        1. avro-1823-v01.patch
          0.7 kB
          Koji Noguchi

        Activity

          People

            knoguchi Koji Noguchi
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: