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

issue with DataFileSeekableInput.SeekableInputStream.skip

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 1.11.1
    • 1.12.0
    • java

    Description

      We found a longstanding bug in the implementation of DataFileSeekableInput.SeekableInputStream.skip.

      This skip function is not hit that often.  It can for example be hit when the FastReader is enabled and it tries to skip a significant amount of data.

      The implmentation of this function is however fault and can result in data corruption or
      java.io.EOFException, as instead of skipping the number of bytes, it will seek to a wrong place in the file.
       
      We have a pull request ready to fix and test this issue.
       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            steven.aerts Steven Aerts
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m