Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1130

SkipScanFilter gets IndexOutOfBoundsException when intersecting salted tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0, 4.1.0
    • 3.1.0, 4.1.0
    • None
    • None

    Description

      Exception thrown:

      org.apache.phoenix.exception.PhoenixIOException: end index (1) must not be less than start index (15)
      
      Caused by: java.lang.IndexOutOfBoundsException: end index (1) must not be less than start index (15)
      at com.google.common.base.Preconditions.checkPositionIndexes(Preconditions.java:388)
      at com.google.common.collect.ImmutableList.subList(ImmutableList.java:362)
      at com.google.common.collect.ImmutableList.subList(ImmutableList.java:62)
      at org.apache.phoenix.filter.SkipScanFilter.intersect(SkipScanFilter.java:216)
      at org.apache.phoenix.util.ScanUtil.intersectScanRange(ScanUtil.java:132)
      at org.apache.phoenix.iterate.ParallelIterators.getIterators(ParallelIterators.java:264)
      ... 20 more
      2014-07-29 15:26:58,104 [Thread-14] ERROR net.sourceforge.squirrel_sql.client.session.MessagePanel - privateShowMessage: Exception was org.apache.phoenix.exception.PhoenixIOException: end index (1) must not be less than start index (15)
      org.apache.phoenix.exception.PhoenixIOException: end index (1) must not be less than start index (15)
      at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:97)
      at org.apache.phoenix.iterate.ParallelIterators.getIterators(ParallelIterators.java:314)
      at org.apache.phoenix.iterate.ConcatResultIterator.getIterators(ConcatResultIterator.java:44)
      at org.apache.phoenix.iterate.ConcatResultIterator.currentIterator(ConcatResultIterator.java:66)
      at org.apache.phoenix.iterate.ConcatResultIterator.next(ConcatResultIterator.java:86)
      at org.apache.phoenix.iterate.GroupedAggregatingResultIterator.next(GroupedAggregatingResultIterator.java:68)
      at org.apache.phoenix.iterate.UngroupedAggregatingResultIterator.next(UngroupedAggregatingResultIterator.java:39)
      at org.apache.phoenix.iterate.DelegateResultIterator.next(DelegateResultIterator.java:40)
      at org.apache.phoenix.iterate.LimitingResultIterator.next(LimitingResultIterator.java:46)
      at org.apache.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:732)
      at net.sourceforge.squirrel_sql.fw.datasetviewer.ResultSetWrapper._nextOnResultSet(ResultSetWrapper.java:94)
      at net.sourceforge.squirrel_sql.fw.datasetviewer.ResultSetWrapper.next(ResultSetWrapper.java:55)
      at net.sourceforge.squirrel_sql.fw.sql.ResultSetReader.readRow(ResultSetReader.java:181)
      at net.sourceforge.squirrel_sql.fw.datasetviewer.ResultSetDataSet.createRow(ResultSetDataSet.java:213)
      at net.sourceforge.squirrel_sql.fw.datasetviewer.ResultSetDataSet._setResultSet(ResultSetDataSet.java:179)
      at net.sourceforge.squirrel_sql.fw.datasetviewer.ResultSetDataSet.setSqlExecutionTabResultSet(ResultSetDataSet.java:105)
      at net.sourceforge.squirrel_sql.client.session.mainpanel.SQLExecutionHandler.sqlResultSetAvailable(SQLExecutionHandler.java:410)
      at net.sourceforge.squirrel_sql.client.session.SQLExecuterTask.processResultSet(SQLExecuterTask.java:542)
      at net.sourceforge.squirrel_sql.client.session.SQLExecuterTask.processQuery(SQLExecuterTask.java:407)
      at net.sourceforge.squirrel_sql.client.session.SQLExecuterTask.run(SQLExecuterTask.java:205)
      at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)
      at java.lang.Thread.run(Thread.java:701)
      
      

      Attachments

        1. PHOENIX-1130addendum.patch
          3 kB
          James R. Taylor
        2. PHOENIX-1130.patch
          1 kB
          Kyle Buzsaki

        Activity

          People

            kbuzsaki Kyle Buzsaki
            samarthjain Samarth Jain
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: