java.lang.IndexOutOfBoundsException: end index (3737344) must not be greater than size (13)

GitHub | electrum | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Uncategorized error for OrcInputStream

    GitHub | 1 year ago | electrum
    java.lang.IndexOutOfBoundsException: end index (3737344) must not be greater than size (13)
  2. 0

    Orc File Read Error

    GitHub | 1 year ago | syed72
    java.lang.IndexOutOfBoundsException: end index (4197522) must not be greater than size (1670)

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      end index (3737344) must not be greater than size (13)

      at io.airlift.slice.Preconditions.checkPositionIndexes()
    2. slice
      BasicSliceInput.readSlice
      1. io.airlift.slice.Preconditions.checkPositionIndexes(Preconditions.java:94)
      2. io.airlift.slice.Slice.checkIndexLength(Slice.java:1194)
      3. io.airlift.slice.Slice.slice(Slice.java:748)
      4. io.airlift.slice.BasicSliceInput.readSlice(BasicSliceInput.java:156)
      4 frames
    3. com.facebook.presto
      OrcPageSource$OrcBlockLoader.load
      1. com.facebook.presto.orc.stream.OrcInputStream.advance(OrcInputStream.java:229)
      2. com.facebook.presto.orc.stream.OrcInputStream.read(OrcInputStream.java:131)
      3. com.facebook.presto.orc.stream.LongStreamV1.readValues(LongStreamV1.java:54)
      4. com.facebook.presto.orc.stream.LongStreamV1.next(LongStreamV1.java:90)
      5. com.facebook.presto.orc.stream.LongStreamV1.nextIntVector(LongStreamV1.java:199)
      6. com.facebook.presto.orc.reader.SliceDirectStreamReader.readBlock(SliceDirectStreamReader.java:124)
      7. com.facebook.presto.orc.reader.SliceStreamReader.readBlock(SliceStreamReader.java:53)
      8. com.facebook.presto.orc.OrcRecordReader.readBlock(OrcRecordReader.java:311)
      9. com.facebook.presto.hive.orc.OrcPageSource$OrcBlockLoader.load(OrcPageSource.java:316)
      10. com.facebook.presto.hive.orc.OrcPageSource$OrcBlockLoader.load(OrcPageSource.java:292)
      10 frames
    4. presto-spi
      LazyBlock.isNull
      1. com.facebook.presto.spi.block.LazyBlock.assureLoaded(LazyBlock.java:249)
      2. com.facebook.presto.spi.block.LazyBlock.isNull(LazyBlock.java:225)
      2 frames
    5. Unknown
      com_facebook_presto_$gen_PageProcessor_4951.process
      1. com_facebook_presto_$gen_PageProcessor_4951.filter(Unknown Source)
      2. com_facebook_presto_$gen_PageProcessor_4951.process(Unknown Source)
      2 frames
    6. presto-main
      TaskExecutor$Runner.run
      1. com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:259)
      2. com.facebook.presto.operator.Driver.processInternal(Driver.java:380)
      3. com.facebook.presto.operator.Driver.processFor(Driver.java:303)
      4. com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:577)
      5. com.facebook.presto.execution.TaskExecutor$PrioritizedSplitRunner.process(TaskExecutor.java:529)
      6. com.facebook.presto.execution.TaskExecutor$Runner.run(TaskExecutor.java:665)
      6 frames