Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19056

IllegalArgumentException in FixAcidKeyIndex when ORC file has 0 rows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • ORC, Transactions
    • None

    Description

      ERROR recovering /Users/jdere/dev/hwx/gerrit/hive2-gerrit/ql/target/tmp/TestFixAcidKeyIndex.testValidKeyIndex.orc
      java.lang.IllegalArgumentException: Seek to a negative row number -1
              at org.apache.orc.impl.RecordReaderImpl.seekToRow(RecordReaderImpl.java:1300)
              at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.seekToRow(RecordReaderImpl.java:101)
              at org.apache.hadoop.hive.ql.io.orc.FixAcidKeyIndex.recoverFile(FixAcidKeyIndex.java:232)
              at org.apache.hadoop.hive.ql.io.orc.FixAcidKeyIndex.recoverFiles(FixAcidKeyIndex.java:132)
              at org.apache.hadoop.hive.ql.io.orc.FixAcidKeyIndex.main(FixAcidKeyIndex.java:104)
      

      Attachments

        1. HIVE-19056.1.patch
          2 kB
          Jason Dere

        Activity

          People

            jdere Jason Dere
            jdere Jason Dere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: