Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13214

sync(0); next(); yields wrong key-values on block-compressed files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • io
    • Patch

    Description

      Calling sync(0); next(...); on a block-compressed SequenceFile.Reader that has already been used may not yield the key-values at the beginning, but those following the previous position. The issue is caused by sync(0) not releasing previously buffered keys and values. The issue was introduced by HADOOP-6196.

      Attachments

        1. HADOOP-13214.2.patch
          4 kB
          Illes S
        2. HADOOP-13214.patch
          0.7 kB
          Illes S

        Activity

          People

            Unassigned Unassigned
            illes Illes S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: