Apache Drill
  1. Apache Drill
  2. DRILL-844

hit java.lang.IndexOutOfBoundsException while querying some large data set

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Execution - Flow
    • Labels:
      None

      Description

      0: jdbc:drill:schema=dfs> SELECT columns[13] from `/user/root/cust-d1.tsv` where columns[13] like '%noticias%';
      ------------

      EXPR$0

      ------------
      java.lang.IndexOutOfBoundsException
      at io.netty.buffer.EmptyByteBuf.checkIndex(EmptyByteBuf.java:857)
      at io.netty.buffer.EmptyByteBuf.getBytes(EmptyByteBuf.java:321)
      at org.apache.drill.exec.vector.VarCharVector$Accessor.get(VarCharVector.java:325)
      at org.apache.drill.exec.vector.VarCharVector$Accessor.getObject(VarCharVector.java:345)
      at org.apache.drill.exec.vector.accessor.VarCharAccessor.getObject(VarCharAccessor.java:94)
      at org.apache.drill.jdbc.AvaticaDrillSqlAccessor.getObject(AvaticaDrillSqlAccessor.java:136)
      at net.hydromatic.avatica.AvaticaResultSet.getObject(AvaticaResultSet.java:336)
      at sqlline.SqlLine$Rows$Row.<init>(SqlLine.java:2388)
      at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2504)
      at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2148)
      at sqlline.SqlLine.print(SqlLine.java:1809)
      at sqlline.SqlLine$Commands.execute(SqlLine.java:3766)
      at sqlline.SqlLine$Commands.sql(SqlLine.java:3663)
      at sqlline.SqlLine.dispatch(SqlLine.java:889)
      at sqlline.SqlLine.begin(SqlLine.java:763)
      at sqlline.SqlLine.start(SqlLine.java:498)
      at sqlline.SqlLine.main(SqlLine.java:460)

      no error in Lilith

      It will hang in sqlline if you just run select columns[13] from `/user/root/cust-d1.tsv` ;

      I have the data set and just ask for location for it.

        Activity

        Vivian Summers created issue -
        Vivian Summers made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Jacques Nadeau made changes -
        Assignee Steven Phillips [ sphillips ]
        Jacques Nadeau made changes -
        Fix Version/s 1.0.0-BETA1 [ 12324963 ]
        Steven Phillips made changes -
        Assignee Steven Phillips [ sphillips ] DrillCommitter [ drillcommitter ]
        Jacques Nadeau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail, testing [ 12865073 ] Drill workflow [ 12933774 ]

          People

          • Assignee:
            DrillCommitter
            Reporter:
            Vivian Summers
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development