Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-3443

Merging page ranges throws IndexOutOfBoundsException:

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.9.10
    • 0.9.10
    • STO - Storage

    Description

      09:05:29.425 [HttpExecutor(port:19002)-1] WARN  org.apache.asterix.api.http.server.QueryServiceServlet - handleException: unexpected exception: uuid=paragraph_1699027175593_1930963414, clientContextID=296af66d-a90e-4721-8af8-0e795c651187
      org.apache.hyracks.api.exceptions.HyracksDataException: java.lang.IndexOutOfBoundsException: Index (22) is greater than or equal to list size (22)
          at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:70) ~[classes/:?]
          at org.apache.hyracks.api.util.ExceptionUtils.setNodeIds(ExceptionUtils.java:70) ~[classes/:?]
          at org.apache.hyracks.control.nc.Task.run(Task.java:398) ~[classes/:?]
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
          at java.base/java.lang.Thread.run(Thread.java:833) [?:?]
      Caused by: java.lang.IndexOutOfBoundsException: Index (22) is greater than or equal to list size (22)
          at it.unimi.dsi.fastutil.ints.IntArrayList.getInt(IntArrayList.java:365) ~[fastutil-8.5.6.jar:?]
          at org.apache.hyracks.storage.am.lsm.btree.column.cloud.buffercache.read.MergedPageRanges.pinWithMerge(MergedPageRanges.java:127) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.column.cloud.buffercache.read.MergedPageRanges.pin(MergedPageRanges.java:101) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.column.cloud.buffercache.read.CloudColumnReadContext.pinProjected(CloudColumnReadContext.java:190) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.column.cloud.buffercache.read.CloudColumnReadContext.prepareColumns(CloudColumnReadContext.java:139) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.column.impls.btree.ColumnBTreeRangeSearchCursor.doOpen(ColumnBTreeRangeSearchCursor.java:134) ~[classes/:?]
          at org.apache.hyracks.storage.common.EnforcedIndexCursor.open(EnforcedIndexCursor.java:54) ~[classes/:?]
          at org.apache.hyracks.storage.am.btree.impls.DiskBTree.searchDown(DiskBTree.java:138) ~[classes/:?]
          at org.apache.hyracks.storage.am.btree.impls.DiskBTree.search(DiskBTree.java:107) ~[classes/:?]
          at org.apache.hyracks.storage.am.btree.impls.DiskBTree$DiskBTreeAccessor.search(DiskBTree.java:195) ~[classes/:?]
          at org.apache.hyracks.storage.common.util.IndexCursorUtils.open(IndexCursorUtils.java:90) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeRangeSearchCursor.doOpen(LSMBTreeRangeSearchCursor.java:415) ~[classes/:?]
          at org.apache.hyracks.storage.common.EnforcedIndexCursor.open(EnforcedIndexCursor.java:54) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeSearchCursor.doOpen(LSMBTreeSearchCursor.java:62) ~[classes/:?]
          at org.apache.hyracks.storage.common.EnforcedIndexCursor.open(EnforcedIndexCursor.java:54) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTree.search(LSMBTree.java:219) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.search(LSMHarness.java:450) ~[classes/:?]
          at org.apache.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.search(LSMTreeIndexAccessor.java:118) ~[classes/:?]
          at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.searchAllPartitions(IndexSearchOperatorNodePushable.java:466) ~[classes/:?]
          at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:316) ~[classes/:?]
          at org.apache.hyracks.api.dataflow.EnforceFrameWriter.nextFrame(EnforceFrameWriter.java:76) ~[classes/:?]
          at org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:94) ~[classes/:?]
          at org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.open(EmptyTupleSourceRuntimeFactory.java:55) ~[classes/:?]
          at org.apache.hyracks.api.dataflow.EnforceFrameWriter.open(EnforceFrameWriter.java:59) ~[classes/:?]
          at org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$SourcePushRuntime.initialize(AlgebricksMetaOperatorDescriptor.java:175) ~[classes/:?]
          at org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:233) ~[classes/:?]
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
          ... 3 more  

      Attachments

        Activity

          People

            wyk Wail Y. Alkowaileet
            wyk Wail Y. Alkowaileet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: